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
1answer
16 views

Apache log request port number

I've got two virtual hosts to serve the same site configured in Apache/2.4.18 (Ubuntu), one for http port 80, and the other for https port 443. Currently I have them generating two separate log files:...
0
votes
0answers
12 views

How to have separate mongodb log files

We are using mongodb version 3 in a AWS environment with Linux AMIs. I suspect this is not possible from reading the mongodb documentation. I would like to log all slow queries to its own log file. ...
1
vote
0answers
12 views

Is it possible to control the size lastlog pre allocates?

This question is in relation to the lastlog file size explained in this article http://www.noah.org/wiki/Lastlog_is_gigantic I understand it is being created as a sparse file hence the size. Here's ...
17
votes
7answers
6k views

Continuously monitor logs with tail that are occasionally rotated

We're using tail to continuously monitor several logs, but when a log is rotated the tail for that file will cease. As far as I understand, the problem is that when the log is rotated, there is a new ...
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 ...
0
votes
0answers
14 views

Nginx Log Parsing to get multiple values from it

Can anyone tell me how to parse the logs and get some desired output from it, i have bunch of logs from which i need to get user_id, time taken and network_type and store it in another file. here is ...
-1
votes
1answer
21 views

Logrotate is not working centos 6.6

I have the following configuration for logrotating the app logs. /opt/tomcat/logs/app-web.txt { copytruncate daily size 500M compress delaycompress rotate 0 missingok ...
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
0answers
15 views

server certificate does NOT include an ID …, but CN is same as ServerName in config

Setting up a local test server. Getting a log error on httpd -k restart. Message in log: sl:warn] [pid 11684:tid 348] AH01909: localhost:443:0 server certificate does NOT include an ID which matches ...
9
votes
6answers
6k views

Send email when anyone logs on

My CentOS/RHEL system may have been hacked, I'm not sure. But I'm playing it safe by creating a new slice from scratch. I've installed tripwire, but I'd also like to be emailed when anyone logs in. I ...
0
votes
1answer
42 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
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 ...
17
votes
12answers
12k views

Viewing logs on a remote linux server

Are there any nice tools for doing a 'tail -f' on a remote (linux) server? It would be nice to be able to do something like "taillog server_host /var/log/syslog" to view logs on various servers ...
2
votes
2answers
2k 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 ...
0
votes
0answers
32 views

How to view Parse Server logs in Parse Dashboard?

I'm using parse-server 2.2.14, with parse-dashboard 1.0.14. According to this merged pull request, logs can be viewed from the dashboard. But my dashboard just show "No logs in the last 30 days" ...
0
votes
0answers
19 views

Where are the Google Health check logs

I am running a GCE instance and on it I have a Kubernetes cluster running. An HTTP Load Balancer is also configured to probe the health of the a Kubernetes service running on this instance. But I ...
0
votes
0answers
15 views

Syslog filter to own file by tag or text contain

I need to log from my Python application to syslog. In syslog I want filter messages from my app to own file. I'm using Debian 8.3. My rsyslog rules: # cat /etc/rsyslog.d/99-MyLog.conf :syslogtag, ...
0
votes
1answer
16 views

singular access log entry without leading slash

When tracking down a PHP notification of WordPress in canonical.php where parse_url() created an array without 'path' entry, we found this related line (with a corresponding 301 redirect) in access ...
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 ...
0
votes
1answer
26 views

My Shortlink Service Count More Hits Then Google Analytics. How Is This Possible?

I have created a simple shortlink service that does a 301 redirection just like Bitly. Rather than storing each visitor hit on a db on a redirection, I am simply analyzing Nginx's access log files to ...
0
votes
1answer
22 views

Can I edit a “live” log file?

I want to mark some log entries for a web server log file. Is it possible to do this while the file, possibly simultaneously, gets new entries added by the server?
1
vote
2answers
1k views

Viewing previous query results from SQL Server Management Studio

I left my computer last night running a batch delete in the Query Editor of Sql Server Management Studio. I was running this to test the speed of the delete on a large database before we used the ...
36
votes
7answers
52k views

Where is my mysql log on OS X?

I checked /var/log and /usr/local/mysql and i can't seem to find the log. I am trying to troubleshoot an error establishing a database connection with a php function.
0
votes
1answer
57 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?
6
votes
4answers
6k views

How to Enable IPtables TRACE Target on Debian Squeeze (6)

I am trying to use the TRACE target of IPtables but I can't seem to get any trace information logged. I want to use what is described here: Debugger for Iptables. From the iptables man for TRACE: ...
1
vote
3answers
4k views

syslogd: Logfile format (not configuration format)

I'd like to parse logfiles. Is the logfile format of syslogd the same for all systems? On my system (Debian Lenny), it's: Mar 7 04:22:40 my-host-name ... (I'm not much interested in the ... part) ...
1
vote
4answers
4k 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 world-...
0
votes
2answers
37 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 ...
1
vote
1answer
92 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
1answer
360 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
86 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 14805]...
0
votes
1answer
80 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 /\xc3\x83\xc6\x92\xc3\x86\xe2\x80\x99\xc3\x83\xe2\x80\xa0\xc3\xa2\xe2\x82\xac\...
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
82 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]: ...
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
56 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
24 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
11 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 ...
0
votes
1answer
51 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
22 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
261 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 /etc/nginx/sites-enabled/*....
2
votes
0answers
480 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
28 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
23k 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: /var/log/mylogfile....
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
553 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 log-...
1
vote
0answers
39 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
840 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 ...