A log file is a file, often in clear text, which is generated by a software process to record some specific details about the workings of this process.

learn more… | top users | synonyms

1
vote
1answer
496 views

Delete log files on IIS hosted website after certain days

I want to delete log files created by my Silverlight application on IIS in a way that the server should check log files older than "n" number of days and delete them automatically. Is there any ...
3
votes
4answers
887 views

How can I search IIS logs of several servers at the same time?

I need to search the logs of all the servers in the array for a particular string. Specifically, I need to determine if a given user is using OWA, EWS, or something else with our CAS servers. Is ...
5
votes
5answers
241 views

How should I deal with logs before they get to big?

I found out my disk was full today, and I freed up 10% just from deleting mostly logs from multiple websites. I, personally, like to keep logs as an archive, because I may need to look back on them ...
1
vote
2answers
1k views

Mongo has a huge log and sometimes hangs the box

My mongodb_mp.log is growing very quickly A tail -f of the file scrolls very quickly Do I need to look into connection pooling?
-1
votes
2answers
605 views

How to delete all debian squeeze logs?

What is the easiest way to clear all the /var/log/ logs so that it just looks like a fresh system? I know that the fresh system also have logs, but I don't acctualy need the old ones....
2
votes
4answers
971 views

Apache log processing on remote central log server

We have 50 RHEL Apache web-servers. We want all the Apache logs to be processed on a dedicated server meant for this purpose as we don't the dependencies of log processing application installed on our ...
0
votes
1answer
491 views

How can I compress large log files on Windows 2008 Server?

Some of our log files are > 4GB, and the build-in windows zip will not compress them. I need to get them off the box, and really don't want to download them uncompressed. I can't install any ...
2
votes
2answers
234 views

Best Way to Keep Up on Linux Log Files

I run multiple Linux (Ubuntu) web servers and am looking for a convenient way to keep tabs on important log files. I'd like to monitor pertinent LAMP logs as well as server accesses/logins. Are there ...
0
votes
1answer
112 views

Calculate rate from log file timestamps

From postfix's logfile I can grep all the lines that indicate the delivery of one message: Jan 3 15:28:21 mail postfix/pipe[1040]: [...] status=sent Jan 3 15:28:21 mail postfix/pipe[1157]: [...] ...
1
vote
1answer
991 views

Ubuntu 11.04 server crash report

I am using Ubuntu 11.04 server addition for my application. During some testing my server has just crashed. After that I am restart the server. My problem is how can i find the reason of crashing? I ...
0
votes
3answers
1k views

Where to see logs of a program that crashes on Ubuntu Server?

I have been running a service (a python script using twistd library) as a non-root user that stays in the background. I've been noticing that it crashes at random times and I want to understand why. ...
2
votes
1answer
2k views

A lot of errors 400 access.log with Nginx and loadbalancer

Hy, I have juste install nginx for my website, and everything is working well and very fast :) But i have this kind of error in my access log : IP - - [30/Dec/2011:11:06:00 +0000] - "-" 400 0 "-" ...
0
votes
2answers
2k views

How to monitor file download on IIS?

We are hosting .exe files on our IIS for our users to download. Is there a direct way to know how many request came for file download and from them how many got completed (successful download ) ? Do I ...
0
votes
3answers
1k views

MySQL server not starting up

I have a server running CentOS 5.5 x86_64, and have recently installed MySQL Server via YUM, but when starting the server I get: [root@server etc]# service mysqld start Warning: World-writable ...
5
votes
6answers
753 views

Anyone know of a tool to detect and report on repeating patterns in a log file?

I need to monitor some large noisy log files (500m/day) from a Java application (log4j). Right now I manually look at the files, grep for "ERROR" and so on. However it should be possible for a tool to ...
1
vote
1answer
441 views

Mail logs files as attachments with sendmail

I'm using logrotate to rotate my log files. I've set it up to create new logfiles every week. However I would like it to first mail me the logfiles as attachments. The /var/log/httpd file currently ...
0
votes
3answers
512 views

tool to analyse/grep log files [closed]

Is there any web based GUIs to analyse or in realtime filter/grep log files from apache? log files that are access logs or error logs or postfix logs etc. Edit: I don't mean traffic analysis. Much ...
0
votes
2answers
5k views

How can I count instances of a regex match in a log file using PowerShell?

I have a very large log file in which I need to count the occurrences of all the variations of a particular string; that is: There are a large number of file IDs that appear in the format AA000####. ...
1
vote
2answers
235 views

serving logs via HTTP

Here is what i am trying to achieve: I have a few Linux servers that have my web App deployed on. Currently my development team access the web app, run their test cases and then SSH into my Linux ...
0
votes
1answer
157 views

Why is my access.log file not accessible?

I have an apache installation on my dev machine. The httpd.conf is all set up right. By the config file I should be getting an access.log file in my logs directory, but it doesn't seem to exist in ...
1
vote
1answer
705 views

Unable to administer WSS 3.0 using SQL Studio Express

I have a WSS 3.0 running on Server 2008 R1. The log files have grown to almost 15GB and need to be compressed/purged as we are running out of space on the hard drive. I have connected to the ...
3
votes
1answer
782 views

What the heck is a OPTIONS method in a IIS 7.5 web Log?

I know what a GET and a POST are, but it's almost impossible to Google for the word OPTIONS. Here's what I see (i deleted all the stuff at the end) of each: 11/23/11 0:02:13 10.100.0.14 ...
0
votes
2answers
395 views

How to show users the reason for a message being bounced or rejected by Postfix? [closed]

A user would like to be able to view a web page showing any emails that a Postfix server has either been unable to send, or unable to receive. For example if the user was supposed to receive an email ...
3
votes
1answer
3k views

Most functional log analysis tools? [closed]

I am curious as to what others find to be the most useful log analysis tools for *nix. Presently I am simply tailing output and grepping through things, however I'd like to use something that would ...
0
votes
1answer
657 views

nginx: rewrite URL but have original URL stored in access.log as 200

I'm setting up a link tracking system, which (temporarily) involves adding /link/id/ in front of URL (like http://server/data/id/publication/id/). rewrite data/id/(.*) http://server/$1; The request ...
4
votes
1answer
1k views

Newsyslog wildcards - rotate all logs in a directory

I am running FreeBSD 8.1. I am trying to make newsyslog rotate logs defined by a dynamic path: # logfilename [owner:group] mode count size when flags [/pid_file] [sig_num] ...
1
vote
2answers
5k views

How to grep httpd error_log within a time range?

How can I grep only lines from a huge (120GB) httpd error_log based on a time range, say: from 2011-11-15 11:30 pm to 2011-11-16 01:30 am Thanks!
2
votes
2answers
169 views

how can i use apache log files to recreate usage scenario

Recently i installed a website that had too many requests and it was too slow. Many improvements have been made to the web site code and we've also bought a new server. I want to test the new server ...
0
votes
2answers
378 views

Defending against botnet - how to analyze apache logs?

About 24 hours ago a DDOS attack started against my site. The apache logs look like this: 190.56.92.50 - - [10/Nov/2011:19:09:16 +0200] "GET /browse.php HTTP/1.0" 403 1207 "-" "Mozilla/5.0 (Windows; ...
2
votes
3answers
5k views

Exchange 2010, user access logs?

Where can I locate log data for exchange 2010 that will show me data such as users accessing the db, or failed logon attempts. Thanks!
5
votes
2answers
3k views

Can postgres internal log rotation mechanism delete log files older than a certain time?

I am using posgtres' internal log rotation mechanism. I would like log files older than 30 days to be deleted. How do I get postgres to do this? If postgres does not support it, can I set logrotate to ...
3
votes
1answer
174 views

Possible to forward logs for microsoft products

This may be a duplicate, as i'm fishing for information, as I'm not that au fait with logging on windows. I know on Unix you can ship syslogs via the relay and RFC 5424. I also know you forward ...
3
votes
2answers
5k views

init script that logs output of the script

How can this be done? I know it's pretty simple and includes appending something like & or &> to the actual command that starts the init script. But, what is the best approach and how can ...
4
votes
2answers
850 views

SSH server breakin attempt?

I am running a Gentoo Linux server, and use Fail2Ban to block the script kiddies and their relentless banging on my SSH port. (Yes I know I can move to a different port number, but that is work, and ...
0
votes
1answer
402 views

AWStats out result in a single html file?

AWStats (awstats_buildstaticpages.pl) generates many htmls, e.g. awstats.mysite.alldomains.html awstats.mysite.allhosts.html awstats.mysite.allrobots.html awstats.mysite.browserdetail.html ...
3
votes
4answers
1k views

Is there a performance advantage to isolating database logs and data on different volumes (same RAID array) across a SAN?

On my old server, I separated them on to different RAID arrays to improve performance. Using a SAN is new to me, so I'm not sure of the optimal configuration. SAN: 48 drives. 10K 600GB SAS. RAID 50. ...
4
votes
2answers
457 views

Split large apache log file into the past day

I have a 3GB log file, I need to extract the past 48 hours without downloading the entire 3GB file. How can I split the file up into the past 48 hours. So I can only download that single file? I have ...
1
vote
1answer
85 views

print from a specific time in a log time

I wrote a script to print 5 days prior to the end of a log file ! and now I want to change it in some way to print 5 hours prior to the end of the file ! this is the script : for d in \ $(sed ...
0
votes
2answers
165 views

search and print specific date in a log file

I'm working with a log file and I want to print from a specific day till the end of it . that specific date is ($sd=27/Dec/2002) for example. now I want to search for this day and print from it till ...
-1
votes
1answer
78 views

find a date in a log file

I want to find a date in a log file and print from that date till the end of log file and that date is 5 days prior to the end of log file which is 27/Dec/2002 the log file is like this : ...
0
votes
1answer
52 views

Apache/Server Logs help

I have this on my apache conf <VirtualHost *:80> ServerAdmin info@myweb.com DocumentRoot /var/www/html/web ServerName web.myweb.com ErrorLog logs/index-error_log CustomLog logs/index-access_log ...
3
votes
2answers
2k views

/var/log/btmp is 6GB, how to trim it down?

I know that /var/log/btmp is for failed login attempts. Typically having a file this large indicates brute force attempts. The 6GB is an accumulation over the past 3 years. I've taken steps to hide ...
5
votes
3answers
427 views

Measuring and visualing web application performance using apache logs?

I have a Django web application served up by mod_wsgi and Apache. I have apache logs of the web application in a production system, the logs include the time taken to serve the request in ...
1
vote
1answer
363 views

How to get the Log file name that we are monitoring using Zabbix?

I am trying to get the log file's name that we are monitoring using zabbix. Is there a way to do this? I created one item in zabbix to monitor log file like this: ...
0
votes
1answer
305 views

How to make logrotate keep the last week into the current .log

Is it possible to get logrotate to keep the last week of logs in the current file? for example : errors.log contains 30 days of logs after log rotate executes , I would have : errors.log with ...
4
votes
1answer
1k views

Can I safely delete MS SQL Server Error Log?

I have some huge log files, which are taking up all the space on a PC's hard drive. Is ok to simply delete the log file: C:\Program Files\Microsoft SQL ...
-2
votes
1answer
137 views

http server files download counter without website

I'm looking for a statistics tool on server side (IIS7) with following requirements: Displays file downloads via http (no websites to click on) Can set specific range to display results (download ...
0
votes
1answer
51 views

Deleting Database and Its Log file

I have a sql server running on a desktop and it has used up the disk space on C. I dont have historical data in the tables. SQL is used to process text files to then be loaded into TM1. All I need is ...
0
votes
1answer
846 views

Sun T2000 SC Log file

Is there a SC log file for the Sun T2000? I'm hoping to track down a possible power problem. So if you have any suggestions outside of a log file... that would be great. What makes me think its a ...
2
votes
2answers
462 views

Locate a string in a folder and the file it came from?

I am trying to find some keywords in my /var/log directory, so using cd /var/log cat * | grep keyword I find the string is in that directory and see the lines it exists on, but don't know which ...