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
0answers
32 views

Exchange 404 not found /autodiscover/autodiscover.xml

Yesterday I noticed that my error logs show: " 404 Not Found /autodiscover/autodiscover.xml: 893 Time(s) " How should I fix it? Any ideas?
1
vote
1answer
73 views

Log requests for a specific location

Have the same problem. Tried with named location, but i always get the same thing, access log created for specific location (/calendar) is empty, and logs are stored in general access log (/) in a ...
2
votes
1answer
59 views

What does the colon part means in Apache error.log's [client] block on Debian?

I am trying to debug an issue with Apache 2.4 on Debian 8 (jessie). I notice lines like the following in my /var/log/apache2/error.log: [Sun May 15 11:53:10.526964 2016] [authz_core:error] [pid ...
0
votes
1answer
46 views

Strange Error Log which caused Apache Server to restart

There are some error logs [Wed May 11 13:27:36 2016] [error] [client 157.55.39.65] (36)File name too long: access to ...
0
votes
2answers
19 views

how to make `atop` create less log files?

Currently I have like 3.5GB of atop log files at /var/log/atop/ I do not need that much log data. Files there are as old as 28 days ago. I cannot find a way to configure atop log limit/quota/age. ...
0
votes
0answers
8 views

Trim and filter functions in NFLOG

I have a tricky task to fulfill: I need to reduce the memory-size of my log on the disk space. Due to customer demand, I have work in a Linux environment with NFLOG. Another security restriction I ...
2
votes
0answers
22 views

Node.js program failing to read .log text file with Buffer error

I am attempting to view a log with a program called 'logger'. When I run node logger I get the following error: <Buffer 66 72 75 69 74 69 73 68 79 0a> The 'logger' program file looks as ...
0
votes
1answer
43 views

MONIT: Monitoring logfile on counting and changes of timestamp

I want to monitor a logfile and I am only interested in the "Received new block" lines. I need two different scripts to monitor a) the height, which should always be one number higher then the height ...
0
votes
0answers
19 views

What does %t in Apache Log Format mean?

I have sever installations of the Apache web server where the Log Format is configured something containing the parameter %t. This documentation clearly states that it is the time the request was ...
-1
votes
1answer
25 views

Is this considered as spam email generated by postfix?

I have just checked my email log at /var/log/mail.log Apr 22 22:09:02 server2 postfix/pickup[14310]: D1FCF737C5B0B: uid=0 from=<root> Apr 22 22:09:02 server2 postfix/cleanup[17071]: ...
1
vote
0answers
23 views

Proper way to set limit in mongodb on log files

It more beginner question. I trying to set limit on mongo log file in AWS linux instance. I found some question that was asked here. And tryed to do that as was suggest from someone for mongo 3.0. ...
1
vote
1answer
423 views

SSL error in nginx log

I'm getting this log entry in nginx error log: 2016/03/19 09:46:33 [crit] 14355#14355: *7761 SSL_shutdown() failed (SSL: error:140E0197:SSL routines:SSL_shutdown:shutdown while in init) while SSL ...
0
votes
1answer
56 views

nginx php-fpm how to disable log warnings?

I've a setup with nginx + php-fpm. I found in my nginx error log a lot of PHP Warning messages like this: 2016/03/17 20:57:23 [error] 23002#0: *114868 FastCGI sent in stderr: "PHP message: PHP ...
2
votes
3answers
188 views

Apache in Docker: How do I “access.log”?

I'm just getting started with Docker and richt now I'm trying to figure out how to set up my first dockerized Apache 2 / PHP environment. Up to now I have been using full Linux VMs, where I used ...
1
vote
2answers
64 views

huge amount of data is written to mail.log once every minute

I'm on Ubuntu server and a huge amount of lines is written to my /var/log/mail.log once every minute. The lines look like: Mar 11 17:39:08 Ubuntu-1010-maverick-32-minimal postfix/qmgr[1085]: ...
0
votes
1answer
15 views

Weird journalctl Lines

I'm managing my tiny vps and was working on a script to send the logging log to my email. I'm using journalctl to list the logging tentative with: journalctl -u sshd >> ./connection.log ...
1
vote
1answer
15 views

Search lighttpd access log

The access-log on my lighttpd server is kind of huge, apx 5GB. Now I need to extract all data from a given date, 12th of February, from the log file and if possible save to new file. Is it possible ...
1
vote
1answer
43 views

nginx - How often was accessed to specific file or path? [closed]

I'm looking for a command/line to get the information how often was a specific file/path accessed from the web-server. (source: default access-log from nignx) It should check all logs (current and ...
0
votes
1answer
53 views

Looking for IPs by page visited in apache log (awk?)

I have a bunch of apache access log files and I want to know which IP addresses visited my /contacts folder. How can I collect them from all log files with shell command?
0
votes
0answers
19 views

Optimizing log file size on Ubuntu VM

This is a fact-finding question. I'm implementing fail2ban to keep some unscrupulous elements out of my Django website's experience. Note that my webserver is nginx (reverse proxy) with gunicorn as ...
0
votes
0answers
17 views

Custom log apache 2.4

I have created a custom log into the file /etc/apache2/apache2.conf like this: LogFormat "%D" simple CustomLog /var/log/apache2/test.log simple Apache 2.4 creates the file in the correct folder ...
0
votes
0answers
19 views

Logrotate does not work daily, but the status file says it does

This is my logrotate script: /var/log/pyApi.log /var/log/runGet*.log { daily missingok rotate 7 compress notifempty nocreate su } Already checked ...
0
votes
2answers
47 views

Log File Directory LAMP

I'm a developer working for a company and, for better or worse, their IT Dept. handles the server that my current web application exists on. It's a LAMP server and, right now, the access log file sits ...
0
votes
0answers
28 views

Log file bloat due to nouveau

Both my kern.log and syslog files have grown to >50Gb and contain a few hundred million lines of: Feb 23 23:32:43 Yawning-Angel kernel: [396111.179453] nouveau E[ PFIFO][0000:05:00.0] PBDMA0: ch 2 ...
-1
votes
2answers
44 views

Linux + how to know why Linux machine is hung from the messages on the console

As in the picture below, my Linux machine was hung and I couldn't login. How do I identify the reason for the "hang", according to the messages on the console? I searched /var/log/messages for more ...
-1
votes
1answer
26 views

How to restart system-wide logging on a Linux server? [closed]

I am running a Centos 7 Linux server. I tried to install rsyslog. Because of a misconfiguration, we had to uninstall it. Since then, I see that all logs are truncated and no new logs are being ...
1
vote
1answer
57 views

Add timestamp to apache error log

So I keep getting the following error in apache logs: sendmail: fatal: open /etc/postfix/main.cf: No such file or directory And I'm trying to figure out where/when it's being attempted, but I can't ...
1
vote
1answer
45 views

Windows Active directory log

I'm trying to log all the failed and successful logins from my users accounts for audit purposes (only username and time). Is there a way I can do it with my windows active directory?
0
votes
1answer
26 views

Citadel not working after deleting log files

I am running a citadel mail server with webcit on an Ubuntu server. I've been having the problem described here and made the rushed decision of removing all of the log files. This created an ...
0
votes
0answers
44 views

Huge citadel log files

I noticed today that my mysql server was not starting up anymore. Checking the error logs, it showed that it didn't have enough disk space. I thought that's really weird since there's nothing on my ...
0
votes
0answers
27 views

Apache2: How to log the entire status line (including reason phrase)?

Apache logs the status code of the response if %s is in the log format, but I also need to log the reason phrase (the text to the right of the status code). How can I get Apache2 to log the entire ...
1
vote
2answers
142 views

sketchy nginx access log entries

There were quite a few entries as below in the nginx access log. How do I know the outcome of these scripts and if my server is compromised or no? 162.232.183.48 - - [14/Jan/2016:10:54:57 +0000] "GET ...
2
votes
0answers
53 views

Analyzing squid3 access.log log files with a all-in-one shell script

I'm just going to write a shell script that me the essential functions such as SARG offers. Sort by URLs with most hits (Top100 in 10min out of 10k) Sum of status / error codes As well as sorting by ...
0
votes
0answers
25 views

How to show email addresses in Outlook 2013 SMTP logs?

I need to troubleshoot some client-side issues while sending SMTP messages using Outlook 2013; I've turned on diagnostic logging, however the sender and recipient addresses are hidden in the logs: ...
1
vote
0answers
45 views

ERROR string limit (1048576 bytes) reached

I got some issue while working with my night batch log. How push MULTIline log as one event? I got stuck with one logfile that is over 26000 lines… NxLog get stuck at some point - I don't really ...
2
votes
0answers
81 views

Sudden failure of networking interface on CentOS 7

We're running a LAMP stack VPS on CentOS 7 hosting a few websites, MariaDB databases, and associated services. In the middle of the night our server mysteriously went completely offline. When we ...
3
votes
1answer
16 views

Apache log HTTP code dispatch

I would like to get warned by email when some HTTP codes are triggered, so I wanted to dispatch log between different file depending of the request HTTP code. Like that i can put a watchers on those ...
1
vote
1answer
96 views

NxLog delete file after processing

I would like to delete the logfile once processing, what I did: <Extension multiline> Module xm_multiline Exec if $raw_event =~ /^\s*$/ drop(); HeaderLine /Debut du ...
0
votes
0answers
82 views

NGINX - rewrite_log does not work log rewrites anywhere

I was attempting to learn rewrites, by making something like this: ^/blog/install/(.*)$ --> /blog/install/index.php?_p=$1 However these rewrites simply kept failing, and it was difficult to ...
0
votes
0answers
30 views

Web Server Log analyzer from a security perspective

Web Server Log analyzers are really meant to just show trends, statistics and are more geared towards an SEO/Marketing standpoint. How can I do the following in regards to HTTP(s) traffic from a ...
-2
votes
1answer
21 views

Rotate Old Files

I have a cron to backup 3 files every Hour, they are SQL backups - in the format name-name-bak-2015-12-1919:30:01.sql I need a way to rotate and delete the older ones say every 7 days? Thought of ...
-2
votes
1answer
323 views

Ubuntu + Postfix: Mail Log Missing [duplicate]

I've just installed postfix on my ubuntu server and am trying to debug why outgoing mails are not being sent. This led me to notice that the /var/log/mail.log file is missing. For that matter, there's ...
1
vote
1answer
55 views

How to parse s3 logs?

I've been trying to parse AWS S3 logs following the documentation, but I've been running into some problems. Specifically, I keep running into new, rare log lines that break my regex. Every time this ...
0
votes
1answer
1k views

How to view mariadb log?

I am using new relic to monitor the performance of my server. Recently I noticed a very strange problem where for every 3 hours, the server will be down for 1 minute. And in the new relic report, ...
0
votes
0answers
47 views

Apache error logs: Client sent RST_STREAM with INVALID_STREAM for stream

Looking through my Apache error logs, they seem to consist of megabytes worth of the following message, over and over again: [Day Mon xx xx:xx:xx 20xx] [warn] [client x.x.x.x] [mod_spdy/0.9.4.3-420] ...
0
votes
0answers
33 views

Odd entries in Debian Linux /var/log/auth.log

I have found some odd entries all of the sudden in my /var/log/auth.log files. They are showing up every 10-20 seconds or so. There isn't anything in cron that would do this, and I am at a loss of ...
4
votes
2answers
140 views

How do I programmatically convert putty logs to human-readable, searchable files?

Background: I have a Windows 7 workstation and use PuTTY for SSH connectivity to Linux servers with session logging enabled. I previously used the Printable output option but that has the benefit of ...
0
votes
1answer
32 views

What are the pair of IPs or “unknown” in the Apache server logs?

The last "column" in my Apache server logs lists either a pair of IPs, one single IP, or is empty (i.e. "-"). Sometimes the first in a pair of IPs is "unknown". It looks something like this: ...
2
votes
1answer
205 views

nginx not logging errors to log files

I recently moved my CentOS 7 machine from Apache to nginx, and I am still working out the differences. One issue I have noticed for only one of my server blocks is that access and error log files are ...
2
votes
2answers
105 views

500,000 GET requests to a random jpeg per day (Apache)

So I'm getting this on my Apache log on a small server for a local company: 1.2.3.4 - - [09/Nov/2015:17:00:16 +0000] "GET /wp-content/uploads/2012/08/gold-coins.jpeg HTTP/1.1" 301 342 about 500,000 ...