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

2
votes
1answer
472 views

Restrict file access to append only

I have a directory with log files and I'm putting logs from script launched by users into them. Logging with syslog isn't possible in this case. I want the users to have only write permissions on ...
1
vote
1answer
174 views

Need a tool to monitor apache logs for suspicious requests and ban users via htaccess

Do you know any tool that monitors apache logs for suspicious actions (for example, several blocks by mod_security from one IP) and after it blocks this IP using .htaccess?
0
votes
2answers
159 views

How to process logs and debug information generated by applications running on spot instances

I am using Amazon Spot Instances to crawl a lot data. Most of them run until Amazon terminates them once the current price exceeds our max bid. I need to monitor and mainly archive the logs generated ...
1
vote
1answer
361 views

Make logwatch reports more interesting?

Is it possible to improve the quality of reports from logwatch? Like make it not just report disk usage which doesn't even change much in daily operation, but report significant changes in usage or ...
6
votes
4answers
174 views

How to measure rate of new lines in file (log file)

I'm trying to get a measure of log file line writes over time, ideally a current rate and 1-, 5-, and 15-minute averages. I could do something like this: watch wc -l /var/log/<my_file> .. ...
0
votes
1answer
68 views

create log file ssh (only ssh)

I use ubuntu 10.04, contained ssh. I want to create a log file that stores all the activity on ssh (only ssh). Like in /var/log/auth.log but only for ssh. Like/var/log/ssh.log. So, file ssh.log will ...
1
vote
2answers
246 views

Exchange 2010 Message Tracking

I was wondering if when i use the get-messagetrackinglog command i would also see rejected emails. Like if external user A sends an email to internal user B and got rejected for spam, could i see the ...
0
votes
1answer
557 views

IIS logs status code 590

Background: Trying to chase a bug where resources occasionally won't load. Only happens on mobile devices. Last five columns in IIS logs are cs(User-Agent) sc-status sc-substatus sc-win32-status ...
2
votes
1answer
346 views

How can I remove old log entries from a log file and archive them somewhere else in Linux?

CentOS 4.x I apologize in advance if this is not the appropriate place to ask this question. It pertains to a linux server / IT admin task. I've got a log file on an old CentOS 4.x server and I ...
1
vote
1answer
157 views

Unable to log iptables

I'm having trouble getting iptables to log to any file. My iptables looks like: Chain INPUT (policy ACCEPT 1366 packets, 433582 bytes) pkts bytes target prot opt in out source ...
0
votes
1answer
162 views

Is my webserver being abused for banking fraud?

Since a few weeks i'm getting a lot of 403 errors from apache in my log files that seem to be related to a bank frauding scheme. The relevant log entries look like this (The ip 1.2.3.4 is one I made ...
0
votes
1answer
2k views

How to see the content-type of a response in Nginx log file

Is it possible to see the content-type of a response to a request in Nginx's log file? At the moment, this is what I see for the request in question: 127.0.0.1 - - [23/Nov/2012:10:17:19 -0500] "GET ...
3
votes
1answer
426 views

How can i handle huge log files?

I am running SSD servers because I have great experiences with performance. However I have webservers which serve lots of requests and the uncompresssed logfiles of one day tend to grow out the ...
2
votes
0answers
205 views

What does 'http: getaddrinfo*.gaih_getanswer: got type “46”' mean

Today I got an e-mail from logcheck informing me that the following system event occurred. http: getaddrinfo*.gaih_getanswer: got type "46" Indeed, the above message occurs 4 times in ...
1
vote
1answer
525 views

Tool to correlate logs by timestamp

I have various log files, some with the same format (webserver + webserver SSL), some with different formats and even different timestamps. How can I correlate these log files together in a simple ...
2
votes
1answer
726 views

How can I reconstruct session from pcap file?

I am trying to extract session level (flow level) information from my pcap trace file. I want to generate the following data for each line of session (flow): Flow_num, IP_Src, IP_Dst, ...
0
votes
1answer
2k views

Zimbra 8.0: Warning create file maildrop/XXXXX.XXXXX permissions denied

I have Zimbra 8.0 running over Ubuntu work fine but I have a warning: postfix/postdrop[XXXX]: warning: mail_queue_enter: create file maildrop/XXXXX.XXXXX permissions denied The problem is that ...
3
votes
3answers
857 views

Deleted Apache access logs still taking up space

I deleted a 7GB apache2 other_vhosts_access.log.1 to free up some space on our server. Basically I deleted all but the most recent access logs. The largest was uncompressed - I assume it hadn't been ...
1
vote
1answer
1k views

What would be filling apache logs with “user not found”?

I noticed today that my apache log files have filled up with gigabytes of the following line: [SOME_TIME] [error] [client SOME_CLIENT] user__not found: /SOME_URI NOTE: the __ (double underscore) ...
0
votes
1answer
423 views

Repeated requests on our server?

I encountered something strange in the access log of our Apache server which I cannot explain. Requests for webpages that I or my colleagues do from the office's Windows network get repeated by ...
9
votes
1answer
7k views

How can I rotate many log files into a different subdirectory per rotation?

I have a directory with many log files, all of which I would like to rotate daily. For organizational purposes I would like to be able to move the rotated logs into a different directory (or ...
1
vote
0answers
209 views

Unable to log into samba server

I am unable to log into a samba server (running on fedora core 6) as it prompts for a username and password when I try to connect to the mapped drives from my windows 7 machine. I decided to reset ...
2
votes
4answers
1k views

How important is it to keep size of log files down?

I have a LAMP server where logrotate does its job once per week, and I notice some logs tend to get quite large. For example, the apache access-log is 73MB. Is it better that I tell logrotate to ...
1
vote
1answer
106 views

Sendmail's maillog polluted by dkim-filter

I just added domain keys to my sendmail configuration and everything appears to be working. However, upon reviewing the maillog I get a ton of these when an email gets sent or received: Oct 4 ...
0
votes
1answer
215 views

Why do I get Postfix entries in Apache logs?

I have setup separated error logs for Apache virtualhosts. when I checked some logs lately, I found entries of other unrelated programs in virtualhost logs. for example I get entries like this in ...
1
vote
3answers
359 views

What consequences to take from what i read in logfiles?

Since some weeks i manage my first Webserver, a Seaside application behind an Apache proxy on Linode, and i installed logwatch to send me daily logs. Where can i get information on when i have to act ...
1
vote
1answer
239 views

Measuring custom statistics with sar

I have a server application which I think is leaking file handles. I want to track the usage of file descriptors over time on my Linux (ubuntu) server. I've figured out that I can track the number ...
0
votes
1answer
709 views

logrotate deletes all maillogs older than one day

I see only two files maillog and maillog.1 in /var/log. grepping for maillog in logrotate.d directory gives three files that have a mention of maillog. syslog /var/log/messages /var/log/secure ...
3
votes
1answer
265 views

Exchange 2010 SP2 log files taking up space

I administrate an Exchange server for a customer, and now the (transaction?) logs are taking up massive amounts of space. Are they safe to delete? The logs are taking ~70GB of space, while the ...
1
vote
1answer
670 views

Why is FunWebProducts flooding my server?

I have received 47 000 hits in the past couple of hours from a single domain. I researched FunWebProducts but it seems to be some kind of a plugin, not sure how this is possible? 89.70.25.120 - - ...
0
votes
2answers
88 views

Ubuntu split Apache2 log files

I rencently updated the config of my server to relocate the /var/www and /var/log in the /home folder, i also updated all my virtuals hosts to write the logs in the new /home/log folder. But now the ...
2
votes
1answer
968 views

Rotate other logs with rotatelogs.exe

On my machine there is some process which is writing a log in C:\Application.log. Now I want to rotate the logs file without stopping that application. On the same machine I have apache 2.2. As I know ...
0
votes
1answer
78 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
409 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
1k 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? ...
6
votes
2answers
1k 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
1k 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
2k 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 ...
-1
votes
1answer
70 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
66 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
1k 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
268 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 ...
2
votes
2answers
1k 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
434 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
387 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 ...
3
votes
1answer
750 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
153 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
445 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
207 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 ...