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
2answers
26 views

Log File symbolic linked to /dev/null OK?

I have a vendor log file that repeatedly grows to hundreds of gigabytes in size. I've reported the bug a few times without resolution. Are there any issues with symbolic linking the file in question ...
0
votes
0answers
33 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
2k views

Monit check log file content

I am having a issue with Monits content check. I know I can check the log file like this check file test.log with path logs/test.log if not match "something" for 5 cycles then alert But the log ...
1
vote
1answer
77 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 ...
0
votes
3answers
1k 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 ...
1
vote
2answers
1k views

PowerShell filter files by date in name

I have many files with different names per day. How can I filter them by the date in their name? For example: app_20130505.log app_20130506.log app_20130507.log app_20130508.log app_20130509.log ...
0
votes
1answer
281 views

Is there log4net pattern format logs viewer?

Do you know a good free log viewer for existing log4net log files that were written using PatternLayout format? I've found: LegitLogViewer (probably it is possible to configure that one) YALV!(xml) ...
2
votes
1answer
63 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
49 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
4answers
6k views

error in php not logging or displaying

I can not get any errors to display on screen on write to a log file. When check phpinfo() print out I have same value of master a local for display_errors On display_startup_errors On error_log ...
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
1k views

Setting up Splunk/IronPort WSA

I recently stumbled across Splunk 4 (by way of an advert on this very site...) and found that it had an "App" that's designed to work with Cisco IronPort WebSecurity and E-Mail Appliances! That's ...
5
votes
1answer
10k 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 ...
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. ...
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
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
2answers
1k views

IIS6/IIS7: how to get physical path to logs of web sites?

I have two questions: How to get list of all web web sites on server How to get list of log folders for each website (ex:C:\WINDOWS\system32\LogFiles\W3SVC1141336521 ) Are there special console ...
1
vote
3answers
3k views

Zabbix 2.0 reads logs correctly, but trigger status is “UNKNOWN”

I'm trying to monitor a log file for the word "error", and if the word appears, fire a trigger for each new occurence of "error." I'm starting simply, with a file (/var/log/test.log) that is ...
0
votes
1answer
44 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 ...
3
votes
2answers
4k views

IIS Advanced Logging Forward to Syslog

I am looking for a method that would allow us to forward the IIS Advanced Logging logs to a centralized log source via syslog or something similar. We are able to perform this currently for the ...
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 ...
3
votes
1answer
201 views

overriding nginx access_log directive - duplicate log entries

I'm using the default nginx package on Ubuntu 14.04 server. It is using /etc/nginx/nginx.conf as the main config, and then includes configs from /etc/nginx/conf.d/*.conf and ...
2
votes
0answers
473 views

EDB log files accumulating on Windows 2003 DC

We have a domain controller that has over 4,000 edb*.log files since 11/29/10. Our other DCs have one file. The kb247715 article discusses how the edb logs work. Clearly something isn't right on the ...
-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]: ...
11
votes
3answers
22k views

How can I move /var/log directory

on our production server, there is a small drive for the main mount point "/" /var/log is taking much space and I have to manually delete some files. How can I move /var/log/ to let's say /home/log ...
9
votes
4answers
7k views

Logrotate Successful, original file goes back to original size

Has anyone had any issues with logrotate before that causes a log file to get rotated and then go back to the same size it originally was? Here's my findings: Logrotate Script: ...
4
votes
4answers
1k views

Is there any alternate to logrotate for apache logs?

I need an alternate for rotating logs on my server, everytime logrotate runs apache goes down for like 10-20 minutes, i'm not sure if this is right, but don't seem right for me. Is there any ...
2
votes
3answers
197 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
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
445 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
58 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 ...
5
votes
2answers
861 views

What to do if wget's progress:mega doen't cut it anymore?

I have script for downloading large files in a queue. Now I would really appreciate it, if I had a decent log. Specifying the -o or -a option is apparently specially made for that, however as of the ...
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 ...
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?
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 ...
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 ...
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
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
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 ...
-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 ...
0
votes
0answers
29 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 ...
19
votes
4answers
44k views

How can I display and log PHP errors on IIS7?

We're running PHP 5.2.5 on an IIS 7 Server and we're having problems making PHP errors visible... At the moment whenever we have a PHP error the server sends back a 500 error with the message "The ...
5
votes
2answers
286 views

nginx, separate robot access log and human access log

I'm trying to separate the robot access log and human access log, so I'm using below configuration: http { .... map $http_user_agent $ifbot { default 0; "~*rogerbot" 3; ...
3
votes
1answer
3k views

How do you force a process to flush the data written to an open file descriptor under Linux?

I have a binary process (with no sources available) running on an embedded Linux system. The process opens a log file (/tmp/dmaosd.log) where it logs what it's doing. The problem is the log gets ...
4
votes
4answers
4k views

Is it safe to remove all files in the /var/log when cleaning a server's history?

I need to erase all system logs, etc. from a running Debian machine that's primarily running Apache. Is it safe to remove all the files in /var/log without recreating (by touching?) any of them? I.e. ...
1
vote
1answer
59 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
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
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?
6
votes
3answers
4k views

W3C log analyzer [closed]

I'm looking for a W3C log analyzer. I know there are plenty around, but it's hard to choose a good one. I was wondering if anyone could make a few recommendations?