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
275 views

Intermittent FTP login issues (Microsoft IIS FTP Service)

I've got a somewhat weird problem which I'm not sure how to troubleshoot. We have a FTP running on a Windows Server 2003 machine using the IIS FTP Service, this is for our clients and is configured ...
3
votes
4answers
3k views

Failed Request Tracing XML fails to display in Internet Explorer (IIS 7.5)

I have installed the Tracing feature and enabled failed request tracing for a website, to debug a Classic ASP website. The XML logs are created upon occurring errors, however when I open them in IE, ...
11
votes
2answers
18k views

How to forward specific log file outside of /var/log with rsyslog to remote server?

How can I forward message from a specific log file like /www/myapp/log/test.log with rsyslog client to remote rsyslog server? This log file is outside of the directory /var/log.
0
votes
2answers
80 views

Maintaining SQL Log Files

I get an email today stating that we have a log file that's grown to 278GB, and asking if anyone is maintaining it. I already know the answer to that is no because we don't have a dba (other than ...
0
votes
3answers
953 views

Is blocking unresolved IP addresses a good idea?

I have a Website where : We currently have a lot of bots trying to grab our content (it's a business directory) from China, Ukraine, etc... 5% of IP addresses are "unresolved", according to ...
4
votes
1answer
7k views

manually rotating logfile with rsyslogd

I want to force logfile rotation using logrotate -f /var/log/syslog, but it's only return tones of: error: syslog:1 unknown option 'May' -- ignoring line error: syslog:1 unexpected text I know that ...
5
votes
3answers
4k views

How to Enable IPtables TRACE Target on Debian Squeeze (6)

I am trying to use the TRACE target of IPtables but I can't seem to get any trace information logged. I want to use what is described here: Debugger for Iptables. From the iptables man for TRACE: ...
0
votes
3answers
791 views

Sonicwall Email Security Audit Logs

I have a Sonicwall Email Security appliance from which I would like to extract the audit logs on a daily basis. Currently, I can only see how to get them manually by going to the web interface. Is ...
0
votes
3answers
2k views

kern.log bandwidth and syslog filling up with bandwidth lines

I'm using Ubuntu 11.04 and my kern.log, bandwidth, and syslog files are filling(And completely consuming my hard drive) with this stuff Apr 18 20:20:23 main kernel: [1886527.503932] BANDWIDTH_OUT:IN= ...
1
vote
2answers
1k views

Grep to find lines starting at pattern A until pattern B is matched

I have a log that contains bits like this: [2012-04-16 15:16:43,827: DEBUG/PoolWorker-2] {'feed': {}, 'bozo': 1, 'bozo_exception': URLError(error(110, 'Connection timed out'),), 'entries': []} ...
3
votes
1answer
3k views

logfile deleted on Oracle database how to re-create it?

For my database assignment we were looking into 'database corruption' and I was asked to delete the second redo log file which I have done with the command: rm log02a.rdo this was in the ...
1
vote
1answer
151 views

Tool to extract all requests being served at a point in time?

We are using Apache using the following log file format: %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\" %D Now we want to check which requests were being served by Apache at a ...
2
votes
1answer
1k views

Sendmail: what does nrcpts=0 mean?

Im attempting to parse some sendmail logs. Im running into lots of apparent emails that have no recipients - or so it would appear. Mar 18 19:12:35 castor sendmail[543]: q2J2CYIv000543: ...
2
votes
2answers
4k views

how to view log files for printing made by different users on LAN

I have a windows 2003 server and have attached a printer to this server. This printer is installed on the server and shared to all computers on the local area network. I want to check to see which ...
1
vote
2answers
95 views

Is this a normal web crawler or something else?

I am running a little apache2 webserver for a department at my university, and I noticed the access logs are filled with messages like the following: "GET ...
4
votes
1answer
831 views

Insert MIME type of an URL into Apache's access_log

I would like to enhance my logfile with an additional field containing the mime type. E.G. 127.0.0.1 - - [01/Mar/2012:20:49:36 +0100] "GET / HTTP/1.1" 200 255 [...] "text/html" 127.0.0.1 - - ...
27
votes
5answers
3k views

Linux server out of space

I have been asked this question in two consecutive interviews, but after some research and checking with various systems administrators I haven't received a good answer. I am wondering if somebody can ...
1
vote
1answer
23k views

Get sessions' remote IP from Teamviewer log file

I'd like to know who has logged in to my machine and when. I have two TeamViewer log files: Connections_incoming.txt and TeamViewer7_Logfile.log. The first one is quite plain and lists, as its ...
1
vote
1answer
551 views

Apache2 dynamic custom filename for log files

I would like to apply a date based custom filename for apache2 log files, which I want to use for clickheat. In the example it writes: CustomLog "clickheat.%Y-%m-%d-%H" "%r" env=clickheat But for ...
0
votes
2answers
452 views

Apache - where do I get older access logs? Are they even there?

As the question says, I can find access logs upto 1 month old in the /var/logs/httpd folder. Where do I get older access logs from? Are they even maintained/saved anywhere or deleted?
0
votes
1answer
479 views

Modify swatch conf files to match multiple lines below a match

We use swatch for reading PHP logs and email them to us. Currently it emails one single line of the error, but fails to match the next few lines of stack trace. For example: for log file like this: ...
1
vote
1answer
1k views

PHPMyAdmin is being attacked

I am running a Debian server with PHP5, Apache 2.2.16 and PHPMyAdmin (I don't know how to check the version number), Logcheck and some other programs. Today Logcheck begin to attach multiple lines ...
1
vote
2answers
295 views

understand apache error log (maybe an attack?) [closed]

anyome can help to understand the apache error log? my website has benn recently attacked (iframe at bottom page). my website in ona dedicated server with centos ad directadmin than you all. [Tue ...
7
votes
4answers
243 views

get text between keywords in log file

If I have a log file and want to dump only the text between 1234 and 9876 in to another file, how can i do this easily? If I have a text file like this: idsfsvcvs sdf sdf e e sd vs d s g sg s vc ...
4
votes
2answers
2k views

Why has my auth.log file emptied - is this normal?

Just took a look at my server auth.log file for the first time in a few days, and noticed that it has no entries before 6:47 this morning. This is really odd because I dumped that logfile to my ...
0
votes
3answers
461 views

Live statistics from a log file

I've got nginx running as a load balancer in front of several web servers. I'd like to be able to see live statistics with response time (maybe a histogram of the last 10 seconds?) I think Varnish ...
1
vote
1answer
534 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
1k 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
250 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
2k 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
636 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
1k 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
555 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
235 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
126 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
1k 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
3k 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
3k 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
908 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
515 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
572 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
6k 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
254 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
171 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
762 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
814 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
416 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 ...