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

0
votes
1answer
55 views

Apache2 decides to ignore the ErrorLog location. How to fix?

My apache2.conf file contains the lines ErrorLog /var/www/logs/error_log and CustomLog /var/www/logs/access_log common. I only get server shutdown/restart notifications there, however. All other logs ...
0
votes
1answer
186 views

IIS W3C Log files missing header

I've just gotten around to analyzing our log files. After banging my head with log parser and several other 'analyzer' tools I came to realize that my log files appear to be missing their header ...
3
votes
1answer
648 views

Compress logs rotated with cronolog

I have a bunch of servers(Centos 5.x) with Apache that have their logs rotated with cronolog. What is the best strategy for compressing and deleting those logs automatically after a certain time? ...
4
votes
2answers
342 views

How to get less to seek faster with large log files?

I am often dealing with incredibly large log files (>3 GB). I've noticed the performance of less is terrible with these files. Often I want to jump do the middle of the file, but when I tell less to ...
1
vote
3answers
857 views

nginx: log empty calls

Does nginx have an option to ignore health checks or buckets from load balancer against nodes? There are thousands of entries like 93.190.2.176 - - [24/Jul/2012:08:56:59 +0200] "-" 400 0 "-" ...
4
votes
1answer
1k views

SQL Server Maintenance Plan: Rebuild Indexes and Transaction Log Backup File Size

In my nightly maintenance plan, I was doing everything - reorganising and rebuilding indexes, updating statistics, etc. There's an hourly maintenance plan that does a transaction log backup. I ...
0
votes
0answers
62 views

Can Apache logs capture SSI

I'm a web developer so I have some knowledge of how Apache works. I'm working with a MASSIVE website at the moment (1.6 million files) 90% of which are called through virtual includes, cgi-bin, PHP, ...
-1
votes
1answer
64 views

Trying to colate click fraud evidence [closed]

We've recently had some very heavy and unexpected Google adwords spikes recently, so I'm trying to work through the server logs to find out if we've been subject to click fraud. What I don't know is ...
0
votes
1answer
52 views

Safe to delete .lastcomm

I have a .lastcomm file that is >2GB is it safe to delete it? It's taking up a lot of room on the server and I can't find any documentation online related to it's log file.
1
vote
2answers
436 views

Apache's access.log files taking up too much space

So I switched all my sites over to Amazon's EC2 service a few months ago and I noticed today that my drive capacity is at >90%. Did a little digging and it seems that the majority of that is being ...
0
votes
1answer
163 views

Plesk adding logs folder as part of virtual host skeleton

Is there a way of adding a logs folder as part of default Plesk skeleton? I would like to include error logging into a file in the vhost directory as a part of vhost.conf in /var/www/vhosts/.skel/0 ...
1
vote
2answers
704 views

SWATCH - what am I doing wrong?

What I want/need/desire is to log when a user logs into my FTP server. Problem: I can't make swatch work the way I should be able to. This data is logged to a file - but of course these logs are not ...
0
votes
1answer
28 views

SQL Server plus small files

I have a MSSQL server, 3 volumes, that runs some processes that seem to take way too long. One of these processes reads in a zip file, then writes to a database based on what's in the zip file.... for ...
0
votes
1answer
257 views

strange Postfix logwatch log summary on my ubuntu vps [closed]

Hi I would be very thankful if someone could help me on explaining this logwatch summary of my postfix installation on my ubuntu 10.04 vps. I dont really know if this might be a normal log file ...
0
votes
1answer
131 views

Prevent Apache2 from logging robots and image requests

I run a high-traffic site and I need to reign in my Apache2 access logs a bit. One way to do this, I've read, is to limit the types of things Apache2 logs. The obvious choice would be, to limit 3 ...
1
vote
1answer
413 views

Syntax for piping varnish logs to rotatelogs

Ubuntu 12.04 Server x64, Varnish 3.0.2 I'm trying to pipe varnishncsa's logs through Apache's rotatelogs, and running from the shell, things work fine: sudo varnishncsa -a -P ...
-2
votes
1answer
134 views

.log parser (MySQL / Apache) [closed]

Is there any tool (GUI) to parse MySQL och Apache log files? to a more readable format? Have Googled a lot, can't find anything to answer my need. Appreciate your help.
2
votes
1answer
218 views

Which log file holds the errors that appear on the server's physical console on CentOS?

On a CentOS 6 Server, sometimes messages (errors, warnings) appear on top of the login prompt on the monitor physically attached to the server. I can't seem to find a log file (/var/log/?) that these ...
2
votes
2answers
157 views

How can I trace a traffic and IO spike every morning on my webserver?

Every morning (for about 2 weeks now), around 6:30 am, I get a large IO and incoming-traffic spike on my webserver. It didn't happen until a few days after I released my site. As I'm still a bit of a ...
2
votes
4answers
1k views

Is this server hacked or just login attempts ? See log

Can someone tell what does this mean? I tried a command like lastb to see last user logins and I see some strange logins from China (server is EU, I am in EU). I was wondering if these could be login ...
1
vote
1answer
184 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 ...
0
votes
0answers
84 views

How can I get apache to stop logging header errors?

I may have this set up in a weird/bad way, but the idea I'm going for is to take wildcard subdomains and seamlessly convert them to a different URL behind the scenes that my app understands. My ...
2
votes
3answers
1k 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, ...
6
votes
1answer
8k 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
0answers
134 views

IIS 6 Incorrect Log Timestamp

On of our web servers is logging the time incorrectly. We are running IIS 6 on Server 2003 SP2. As of April 2012, all of the entries in the web log are dated 2013-01-18 21:15:15. Has anyone seen this ...
0
votes
0answers
172 views

Apache - Bogus marker and Bogus Huffman table definition entries in error_log

How can one identify the full path (or the URL) of images producing Bogus Huffman table definition Bogus marker length entries in the /var/log/httpd/error_log? Can Apache be configured to be more ...
0
votes
2answers
77 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
693 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 ...
3
votes
1answer
3k 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 ...
3
votes
3answers
2k 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
2answers
289 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
2answers
964 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
644 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': []} ...
2
votes
1answer
2k 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
150 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
748 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
2k 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
92 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
428 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 - - ...
0
votes
0answers
832 views

ntop crashes at random times, how can I trace the cause?

I've recently installed ntop v3.3 on a Debian/Lenny server, which runs as a daemon with the web interface enabled. However, it randomly crashes and logs don't report anything... I've tried the ...
25
votes
5answers
2k 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 ...
0
votes
1answer
11k 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
368 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
240 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
335 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
253 views

understand apache error log (maybe an attack?)

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
235 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
1k 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
366 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 ...