Recording activity on the system (or of a particular program) for later reporting and analysis. Logins, logouts, web server page requests, etc might all be logged.
Questions tagged [logging]
2851 questions
1
vote
1 answer
Website is partially loading - caught SIGTERM
I am getting the following error which is RANDOM. Restarting Apache solves the problem.
[Fri Jan 02 16:19:21.854040 2015] [mpm_prefork:notice] [pid 18591] AH00169: caught SIGTERM, shutting down
[Fri Jan 02 16:19:22.872284 2015] [suexec:notice] [pid…

brentwpeterson
- 111
- 3
1
vote
3 answers
Apache logs full URL rather than URI
My Apache web server logged following messages to access.log:
46.22.173.131 - - [23/Dec/2014:15:34:54 +0100] "GET http://pl.wikipedia.org/wiki/Special:Search?search=&go=Go HTTP/1.1" 302 482 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT…

Matthias
- 127
- 1
- 5
1
vote
1 answer
User blocked in AD by some windroid device
We have a user that is constantly blocked. We checked the logs in the domain controllers and all the information shown is that a WINDROID device is the source. How can I know which device is causing this? Is there a way to analyze this more deeply?

Marisol López
- 11
- 2
1
vote
1 answer
Why does denyhosts `hosts-restricted` file have contents when there are no `restricted-usernames`?
I have a user that is getting blocked by denyhosts on a daily basis after some initial problems and confusion with keys, passwords, account names and such, even though I keep unblocking him.
When I went to /var/lib/denyhosts (WORKDIR specified in…

Amadan
- 159
- 1
- 14
1
vote
0 answers
Rsyslog won't monitor mysql-slow.log when written to by mysql
I'm going mad. I'm trying to get rsyslog to send log files to logentries.com.
This works perfectly until I try to log mysql-slow.log.
The config is pretty simple
module(load="imfile" PollingInterval="1") #needs to be done just once
# File 1 …

Alan Hollis
- 181
- 9
1
vote
1 answer
What kind of service is runit's svlogd expecting?
The runit manual states that in the configuration one can use an option to submit logs to:
ua.b.c.d[:port]
tells svlogd to transmit the first len characters of selected log messages to the IP address a.b.c.d, port number port. If port isn’t
…

oz123
- 1,258
- 5
- 17
- 34
1
vote
1 answer
Haproxy logging not work
Cant understand, how it logging? Now my log is empty and haproxy doesnt write anything to file. Sometimes it logs some info, Logging works with syslog-ng, if i set in haproxy conf timeout client about 1s, then logging works sometimes. Is logging can…

user3904465
- 11
- 1
- 2
- 6
1
vote
2 answers
How to pass PHP mail.log output to a script
I'm logging all php mail output using the mail.log setting in php.ini. Rather than log to a file I want to have the log data sent to a script for parsing in real-time to raise alerts.
I have tried:
mail.log="|/path/to/script.php"
in the hope…

Peter
- 113
- 4
1
vote
0 answers
curl error logs not seen before in the apache error logging
Typically my apache error logs get hit with a large volume of the typical 'phpmyadmin' (requests and a huge qty of spelling variations), wordpress admin, joomla and a whole load more.
But last night my server got hit with an unusually high volume of…

John
- 887
- 4
- 15
- 25
1
vote
1 answer
Does c-referrer always start with "/"? Could anything else start with "/"?
I'm writing a program that deals with server generated logs. I need to catch the c-referrer and the uri-stem, regardless of what else is being logged or not and regardless of what log format is used. I've found this link, WC3 Extended Log Format…

nona urbiz
- 187
- 1
- 1
- 11
1
vote
1 answer
Rotatelogs not functioning
My system is Debian with Apache 2.22
I'm trying to rotate my logs with rotatelogs. The format in the logfile works but the rotation is not working.
Part of the apache2.conf
LogFormat "%h %t %m %U %q %>s %B \"%{Referer}i\"" custom
CustomLog…

cr1zz
- 11
- 1
1
vote
0 answers
Lighttpd to include IP address in error.log
I have lighttpd/1.4.31 (ssl) on Debian 7.6 and I would for the standard error.log to include the IP address of the host which caused the error.
Is it possible? The accesslog.format directive allows customisation for access logs, but I can't find a…

aland
- 172
- 1
- 7
1
vote
3 answers
Syslog does not record logs received over TCP to a file
I am trying to setup a centralized rsyslog server on CentOS 6.5 for Cisco routers and switches. On the Cisco devices, I've set the correct date/time and enabled timestamps, logging to the server over TCP on port 514, set the facility to local4 for…

Python Novice
- 351
- 1
- 5
- 13
1
vote
0 answers
How to retrieve a list of disk devices from Windows Server 2012R2
In Windows Server 2012R2 Event Viewer shows error ID 15:
Log Name: System
Source: disk
Date: 9/29/2014 3:16:49 PM
Event ID: 15
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: …

slybloty
- 443
- 2
- 9
- 30
1
vote
2 answers
Access to logs for not root/sudo user
What should I choose to allow staff access to logs on server. For example if I have user webmaster which should have access to /var/log/{mysql,nginx, etc...}, how can I make it? Maybe add group log-access and change owner of logs to this group? Or…

Sonique
- 241
- 1
- 9