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 ...
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 ...
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 ...
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 ...
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?
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 ...
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?
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 ...
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
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. ...
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 ...
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
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 ...
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 ...
-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]: ...
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 ...
0
votes
1answer
86 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
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
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]: ...
0
votes
1answer
17 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
18 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
45 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
59 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
22 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
19 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
20 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 /var/lib/logrotate/...
1
vote
2answers
50 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
41 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
50 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
28 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 created....
1
vote
1answer
76 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
47 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
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
0answers
68 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
31 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
151 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
64 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
29 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
67 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
98 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
19 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 ...