Questions tagged [logging]

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.

2851 questions
8
votes
3 answers

Software for analyzing IIS logs?

I have a ton of IIS monthly logs. Can someone recommend software that can help me analyze them (e.g. visitors, os/browser statistics, all the standard stuff)? I'd like a piece of software that does not require me to setup a server or anything…
AngryHacker
  • 2,877
  • 6
  • 32
  • 33
8
votes
2 answers

IIS logging, write to log file more often

How can I configure IIS to write to log file more often, it does so every 2 minutes. This is my development server, there's no load on it, and I want it to write right away, how can I configure it so it checks more often if it has stuff to write…
GenEric35
  • 223
  • 1
  • 3
  • 6
8
votes
4 answers

Can expire_logs_days be less than 1 day in MySQL?

So... yesterday I received an "after the fact email" about a campaign that has started for one of the services that I run. Now the DB server is getting hammered, hard, to the tune of about 300mb/min in binary logging for the replicate. As you could…
blacktip
  • 301
  • 1
  • 2
  • 5
8
votes
2 answers

Tail server logs into XMPP?

So I have two files, and if a new line appears on either of these files, I'd like to receive an IM (preferably jabber or gTalk) containing the contents of that line. Do you guys have any suggestions for a Linux daemon or something that could do…
icco
  • 193
  • 8
8
votes
2 answers

Nagios vs Splunk

I am looking to implement log tracking at my current company. After some research it seems Nagios and Splunk are the two best options. I was wondering if there is a consensus with which is better. I understand that Splunk can be quite pricey if the…
dan_vitch
  • 357
  • 1
  • 3
  • 8
7
votes
3 answers

AH01071: Got error 'Primary script unknown\n' apache2.4 php-fpm7.2

I seem to be getting these lines in my /var/log/apache2/error.log and the corresponding records in /var/log/apache2/access.log /var/log/apache2/error.log [Fri Sep 20 02:28:36.654357 2019] [proxy_fcgi:error] [pid 28619:tid 140003157985024] [client…
Dan
  • 173
  • 1
  • 1
  • 7
7
votes
1 answer

nginx log full proxy_pass to log

Given the following location with proxy_pass, I want to log the fully qualified uri. location ~* ^/?(foo/?.*$) { proxy_pass https://www.someserver.com/some-thing-else/$1; break; } So for example I'd like…
Alec Ruderman
  • 73
  • 1
  • 1
  • 5
7
votes
1 answer

Lot of 400 errors in the Apache logs

We have a hard time debugging 400 errors on our website. We have a lot of errors like this: 10.0.0.1 - - [08/Oct/2018:14:28:07 +0200] "GET /les-news/palmares/detail/article/la-lettre-de-motivation-ideale-pour-une-demande-de-stage-5224/ HTTP/1.1"…
COil
  • 207
  • 3
  • 12
7
votes
2 answers

Is it still allowed to have log files under the new GDPR?

Is it still allowed to have server access log files under the new GDPR? Because of the gathering of IP addresses is not allowed, I can imagine that system operators are in violation of the law in countries where the GDPR is active. Edit (thanks to…
C.A. Vuyk
  • 632
  • 10
  • 18
7
votes
1 answer

How do I keep my Amazon Linux EC2 instance /var/log/messages from being filled with dhclient and ec2net messages?

On Amazon Linux in AWS's EC2 service, it uses a very short DHCP lease time, meaning that /var/log/messages gets lines in it every couple of minutes from the dhclient and ec2net services. How can I exclude those from logging, so any important log…
user373838
7
votes
3 answers

Where is catalina.out in tomcat 9?

I just recently deployed tomcat 9 and I would like to inspect the catalina.out log as it is running, however I notice that when stopped it would dump logging output to a catalina.[date].txt file. Is there some additional configuration to be done to…
Dark Star1
  • 1,385
  • 7
  • 22
  • 37
7
votes
1 answer

How can I output logs to a file from the content of a service with systemd

Well, I have a service configured with systemctl. This is the config file: [Unit] Description=The description of the service (: After=network.target [Service] ExecStartPre=/bin/echo 'Starting Service' >>…
robe007
  • 223
  • 1
  • 3
  • 9
7
votes
1 answer

How to set up IAM Role Permissions for VPC CloudWatch logs?

I am trying to allow aws to start my log service, and I have my log streams, and log groups added already. When i got to my VPC dashboard, the status of the Flow Log I'm interested in says: Access Error. The IAM role for your flow logs does not…
7
votes
2 answers

HAProxy log outgoing requests

Currently, my HAProxy logs have information about the incoming requests: HTTP version, method, host, path, and headers. I am trying to debug my HAProxy config, and need to know what the resulting outgoing requests are, particularly the host and…
Paul Draper
  • 317
  • 5
  • 24
7
votes
1 answer

How to allow more than two simultanous sessions on Azure

One of our servers is on Azure and we are remotely connecting to it. Unfortunately Azure allows only two users to be logged in at the same time. When the third user tries to log in, he is given the option to disconnect one of the already logged in…
QWE
  • 261
  • 1
  • 3
  • 6