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
votes
1answer
1k views

java.io.IOException: Too many open files on tomcat server

I have web application which is based on JAVA (GWT Framework). I hosted my web application on Redhat Linux Server 6.0 using Tomcat 8.0.9 in front of apache http server connected using AJP connector ...
7
votes
8answers
16k views

Linux monitor logs and email alerts?

I have a server with a faulty power button that likes to reboot itself. Usually there are warning signs, like the acpid log file in /var/log starts spamming garbage for about 10hrs or so. Is there an ...
0
votes
2answers
7k views

Exchange 2010 mailbox database logs

We recently discovered that an Exchange Server could not accept any (external) messages anymore due to low disk space. It is the Exchange "Back Pressure" feature that caused the Exchange Server to ...
-1
votes
1answer
38 views

Apache 2.4 custom logs exception

i am trying to clean my apache log, so i try to seprate trafic / bot / stats in 3 differents files i used the doc : http://httpd.apache.org/docs/2.4/en/logs.html # [ Logs Exeptions ] # - Exeption ...
12
votes
2answers
21k views

Where is ASP.NET Server Log File is Located?

My ASP.NET MVC application on my development box is running wild; I can't even connected to localhost. In order to know what is the problem, I want to find the log file and examine it. Where is the ...
25
votes
6answers
12k views

Colorize Monitoring of Logs

I sometimes monitor apache and php error logs using tail under FreeBSD. Is there any way to get colorized output, either using tail or some other command line app? Alternatively, what is your ...
3
votes
2answers
6k views

How do I get a detailed vista bootlog?

How can I get a detailed report of what/when things are getting loaded during vista boot? The basic reports found in the event viewer are @ too high of a level. Someone must've needed more ...
1
vote
5answers
206 views

Tool do analyze web traffic per file and time period? [closed]

For a web site which uses Analog to create a daily web server statistic, I am looking for a tool which can read the log files and report weekly / monthly downloads (or page hits) for individual ...
3
votes
1answer
4k 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 $HOME/ORADATA/...
2
votes
2answers
88 views

Split large Logfile with Suffix like from logrotate

after I've seen that I forgot to add a logrotate-conf for php5-fpm.log on one Server, and now seeing that it has grown REALLY big, I'm asking myself how to split this Logfile into separate ones, with ...
0
votes
0answers
17 views

IIS logs - how to clear them without stopping the server [duplicate]

During development of a web site I sometimes find it useful, when debugging, to be able to clear the web server logs prior to making a request whilst running a tool like tail -f (under Linux). This ...
1
vote
0answers
43 views

Easily create a logcheck rule from a log message?

I’d like to more easily create logcheck rules from log messages. Ideally I’d like to have something set up such that I just take a logcheck message I receive, and pipe it to some tool, and it spits ...
2
votes
1answer
26 views

Can Apache Access Logs be kept separated & also combined as well too?

My question may be a bit confusing, and sorry for that. Here is what i need: Well, i have (let's say) 3 Websites hosted on one Apache (which are defined inside each VirtualHost settings. Then i ...
0
votes
0answers
11 views

Which `Log group` do I select when in AWS `CloudWatch Management Console`?

I am trying to view my logs from aws command line interface, but I am unable to discover what is a log group. I followed the documentation for CloudWatch. However, nowhere in those instructions ...
5
votes
3answers
5k views

How to enable non-error Apache log on MAMP

How can I enable non-error server logging on MAMP (or, am I totally blind, and is it already enabled by default?) So far, I can only find the error logs for Apache, MySQL and PHP in /Applications/...
1
vote
3answers
210 views

No log file output (or email with output) running Python script via cron job

I have the following cron job running a Python script which seems to install okay with no issues after creating it in Crontab and saving (this is on a server running Centos7). I'm not seeing either a ...
3
votes
2answers
264 views

Nginx, log referrers from certain domain to separate log file

I have my nginx setup to block certain referers like so: if ($http_referer ~* (site_name) ) { return 403; } This works fine, however I'd like to also log the blocked referrer to a separate file. ...
-2
votes
1answer
211 views

Linux Server: Too Many Open Files

I have an application running on Linux Server. But server suddenly stopped responding but when I ping from other machine to server it allowed to ping but was not allowing to login into the server. Not ...
1
vote
3answers
634 views

Apache daily logrotate

I want to create daily logs, but there's a small problem. Logs aren't being created for each day, rather they contain the previous log files. Here's my current setup, how can I change it so it only ...
3
votes
3answers
33k views

ASP.net user account permissions in IIS 7 on Windows 2008 server

I set up a global error handler in my ASP.net application, using Log4Net and a RollingLogFileAppender which has worked quite nicely up until. I'm in the middle of an upgrade to IIS 7 on Windows 2008 ...
0
votes
2answers
38 views

Is this a user/pass connection or an email communication connection?

I have lines like these in /var/log/messages: Jul 12 01:26:00 h2 xinetd[1596]: START: smtp pid=11253 from=::ffff:221.219.213.54 I need to know if that is an email connection like the ones being made ...
1
vote
0answers
19 views

When is a pid needed in log rotation?

I've read that providing pid in the newsyslog.conf is to ensure that the process writes in the new log file. However, I've tried log rotation without providing a pid because I couldn't find one for ...
0
votes
1answer
1k views

trigger alarms based on strings in log file

I've installed zabbix 2.4.5 on my ubuntu linux server. I have 2 remote servers configured, lets called the relevant one foo. i want to monitor a log file for a specific text, and if it finds it to ...
0
votes
1answer
128 views

Strange symbols in /var/log/auth.log

I just installed fail2ban after realizing that there were tenthousands of attempts to log into one of our servers over SSH. After installing fail2ban, the log bloat stopped, but I still wanted to ...
13
votes
7answers
4k views

How did you implement log management on your servers?

I'm trying to figure out how other people implement their log management systems. I have 20-30 Linux servers and a few Windows boxes (most of them virtualized). We utilize a lot of Perl and Bash ...
0
votes
1answer
123 views

Getting Webalizer to show URL stats for all time, not by month

The conf file has this section: AllSites yes AllURLs yes AllReferrers yes AllAgents yes AllSearchStr yes AllUsers yes ...which is great, but I don't see any way to show the same ...
0
votes
1answer
325 views

Sed - extract only parts of file with certain timestamps

I work with log files on a daily basis. I have been using sed to accomplish my goal of extracting certain lines of data between to time stamps. For example, I use: sed '/20150720 15:06:00/,/20150720 ...
0
votes
0answers
69 views

Solaris run rsync after logadm

I'm trying to get this logadm configuration running. '/dir1/*/*/alert*.log' -C 8 -c -s 10m -t '$file_%Y-%m-%d' -z 0 -a '/usr/bin/rsync -qp /dir1/*/*/alert*.gz root@192.168.0.10::alert_logs/$(...
1
vote
1answer
323 views

Access Glassfish server logs via REST

I am using Glassfish 3.1.2.2. I have deployed Glassfish to localhost. I have enabled the monitoring service and set the log level to HIGH for all components. I should be able to use the view the ...
0
votes
2answers
1k views

enable binlog in MySQL on Ubuntu

How can I enable binlog in mysql? The documents say to start the server with --log-bin but when I do: service mysql start --log-bin=/binlog I get: start: invalid option: --log-bin=/binlog And ...
-1
votes
1answer
43 views

Server Blocked by Provider Sending UDP Packages to certain IP - what does that mean?

My webserver got blocked by my provider recently for the reason that it was performing an attack to another server. The email contained the following log: 08:26:39.219940 68:05:ca:07:02:01 > 78:fe:...
3
votes
3answers
933 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
103 views

NGINX and log rotation: is missing log entries possible?

In it's simplest realization, one can implement NGINX log rotation as following: mv access.log access.log.0 kill -USR1 `cat master.nginx.pid` My question. Do we have a concurrency issue here? I ...
-3
votes
1answer
73 views

How do you restart logging after deleting an NGINX log? [closed]

I deleted my NGINX log because it was very large, thinking that NGINX would automatically create a new one in its place. It didn't, and now I don't have logs. The file was previously located at /opt/...
0
votes
1answer
55 views

Is there anything available from Microsoft to make gathering and interpreting of logs easier?

In the process of planning for an upcoming deployment of an AD structure with a single forest, a top level empty root domain and two child domains—which will house two business units. Within each ...
1
vote
2answers
318 views

How to retrieve previous IP/DNS information from Domain Controller logs?

I unfortunately have DNS scavenging on; information I need to retrieve could have been in Event Viewer DNS logs, but that's not there anymore, or maybe I am not looking for it properly. Story: I ...
0
votes
2answers
185 views

CentOS Server - Available disk space constantly drops

The result of the df command : Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda2 864000688 809338092 10773908 99% / tmpfs 32965940 0 32965940 0% /dev/...
0
votes
2answers
677 views

rsyslog (local) and remote logging

I have several linux servers that I want to monitor the log files. I thought it would be great to setup a central log server that can capture incoming rsyslog packets. Each hostname would have its own ...
1
vote
0answers
78 views

logger not logging to remote rsyslogd instance

I am running CentOS 7.0.1406 with rsyslogd 7.4.7 and logger from util-linux 2.23.2. I have two machines connected via a switch. When I try to use logger to log from one machine to the other, nothing ...
2
votes
2answers
261 views

nginx access.log only kept for a day

I'm using goaccess on Ubuntu Server 12.04 to view my analytics on my web server. I just run the following utility: goaccess -f /var/log/nginx/access.log However I'm only seeing one days worth of ...
0
votes
1answer
402 views

GoAccess analytics and HTTP Referer

This is a high-level question regarding using goaccess as a tool for website analytics. I have it set up on an nginx server and parsing the logs just fine, but it seems that many requests to my own ...
0
votes
1answer
47 views

Scraping log to identify emails sent to another MTA

I have a Courier MTA that seems to be sending spam. I want to scrape courier's mail.log to identify, for each mail that was sent to another MTA: The from address Where Courier got the email from ...
3
votes
3answers
6k views

what service to restart for /var/log/auth.log to start

Here is a situation since the log files on my server had grown to several Gigabytes I took a backup of directory /var/log and then manually when to each subdirectory of /var/log and the files which ...
0
votes
1answer
74 views

Redirecting syslog facility to other facility

I have a syslog server, which separates logging informations according to hostnames. It can separate messages if it's in the 'local1' facility. I have a mail server, which sends messages to the 'mail'...
2
votes
4answers
2k views

Akamai log processing

I'm digging through Akamai logs, downloading excel sheets, and then manually joining them so that I can do sorting of data to find top videos and referrers. Are there any tools you know of to help ...
2
votes
1answer
193 views

Change filename format for Nagios archived logs to use different date format?

I have just set up a Nagios server, and by default it keeps archives of the log messages in /var/log/nagios3/archives. However the files are named with US style date format, like nagios-04-14-2015-00....
11
votes
3answers
18k views

What is the difference between syslog, rsyslog and syslog-ng?

I am a bit confused in syslog, rsyslog and syslog-ng. From where can I get the source code for syslog()? Is there any difference between rsyslog and rsyslogd?
0
votes
1answer
744 views

FreeNAS is getting Uncorrectable parity/CRC errors

In my FreeNAS 9.3 installation I am getting more and more Uncorrectable parity/CRC errors (like these here: May 15 13:39:41 freenas (ada1:ahcich1:0:0:0): READ_FPDMA_QUEUED. ACB: 60 00 b8 0e 18 40 91 ...
5
votes
5answers
9k views

Is Apache stalled? /server-status shows over 240 requests like “OPTIONS * HTTP/1.0” 200 - “-” “Apache (internal dummy connection)”

Some details: Webserver: Apache/2.2.13 (FreeBSD) mod_ssl/2.2.13 OpenSSL/0.9.8e OS: FreeBSD 7.2-RELEASE This is a FreeBSD Jail. I believe I use the Apache 'prefork' MPM (I run the default for ...
4
votes
1answer
3k 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 Server\MSQQL10_50.SQLEXPRESS\MSSQL\Log\ERRORLOG....