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
1
vote
0 answers

Graphing/Aggregating IIS Logs from Windows Azure

I've got IIS logging etc enabled in my Azure Web Roles - so they're there in case i want to reference them, but i'd like to pull them all in to somewhere central and run stats across them to get pretty graphs/visit/hit stats etc. I've looked at…
Henri Cook
  • 11
  • 1
1
vote
2 answers

Log Analysis Tools for Apache & Tomcat

I'm looking for a log analysis tool to monitor & analyse the logs from an Apache & Tomcat webfarm. It would need to have agents that run on the servers, and ship logs back to a central host. The host would then process them, and draw useful…
Mark
  • 165
  • 1
  • 6
1
vote
2 answers

Server timezone changed to PHT but logs still written in MST?

A couple of days ago, I updated the timezone on an Ubuntu 12.04 LTS server using $ sudo dpkg-reconfigure tzdata. Today I noticed while tailing the mail log, that the times were still 15 hours behind. I immediately checked the server date but it's…
Peter White
  • 586
  • 1
  • 7
  • 17
1
vote
1 answer

Remotely diagnosing server 2012 boot problems with no KVM

I have a rented dedicated server that seems to have run into some issues. Unfortunately I have rented from a company who will only give hardware support leaving me in the dark. My server had been running happily for three months with no reboot and…
Henry
  • 111
  • 3
1
vote
1 answer

pam_limits(cron:session): unknown limit item 'nofiles'

On my debian-squeeze server I get thousands of messages in the logcheck email under Security Events for sudo =-=-=-=-=-=-=-=-=-=-=-=- Aug 31 20:17:44 eclabs sudo: pam_limits(sudo:session): unknown limit item 'nofiles' Aug 31 20:17:44 eclabs sudo:…
rubo77
  • 2,469
  • 4
  • 34
  • 66
1
vote
1 answer

Disk usage of Puppet reports

We are running puppet-dashboard on the puppetmaster which processes all the reports and puts them in a MySQL table. Every month about 5GB of reports are generated however in /var/lib/puppet/reports. What is the best way to control disk usage for…
ujjain
  • 3,983
  • 16
  • 53
  • 91
1
vote
1 answer

Windows DNS Debug Logging Performance Impact

Similar to this question, Logging DNS requests on a windows DNS resolver, I am curious how much of a performance hit/impact enabling DNS Debug Logging will have on a server. Per the Microsoft links,…
John
  • 2,276
  • 7
  • 44
  • 60
1
vote
1 answer

Mongodb spamming log

I found that mongod writes [snapshotthread] cpu: elapsed:4000 writelock: 0% continuously. So it one day log now about 2Mb. What does it mean and how to disable this?
Joe Doe
  • 113
  • 3
1
vote
1 answer

Baidu in nginx access.log

when I checked my nginx access.log I detected some unknown entries. Here is an example of such an entry: 119.96.41.183 - - [14/Aug/2013:07:56:51 +0200] "GET http://www.baidu.com/ HTTP/1.1" 302 160 "http://www.baidu.com/" "Mozilla/4.0 (compatible;…
Blicc
  • 11
  • 2
1
vote
0 answers

Custom Log Paths in Apache Virtualhost Config

On my local Windows LAMP Dev server, I set up test sites with the domains like this... http://projectName.dev http://www.projectName.dev I then have a simple program that also adds the appropriate records to my Windows HOSTS file... 127.0.0.1 …
JasonDavis
  • 2,658
  • 6
  • 25
  • 32
1
vote
0 answers

Most efficient way to pipe web beacon logs to Apache Flume?

The Setup I've setup a simple Nginx server that logs (in a JSON) format, which is then piped to an S3 bucket with Apache Flume. All the Nginx server does is respond with a web beacon tracking pixel and write to the log file. Everything's cool so…
landons
  • 111
  • 1
1
vote
0 answers

Multiple IPsec tunnels implented with raccon - need tunnel specific debug output

I have a network appliance box serving as an end point for several site to site IPsec VPN tunnels. raccon's docs specify that a log file can be written to with the -l option. My clunky approach to segregate log info into tunnel specific files is…
inetplumber
  • 680
  • 4
  • 9
1
vote
3 answers

Graphing/Reporting PHP Errors

Whats the best way to get reports on php errors? To give a bit of background, have some legacy PHP applications/websites that generate various errors/warnings etc, currently going to apache log. Would like to be able to graph these somehow to have…
benlumley
  • 192
  • 7
1
vote
1 answer

cron create output file only if there is output

I have a cronjob that calls a script. I want the output to be placed in a log file. The problem is that the log-file is created even if there is no output. Since the job runs once an hour, and mostly has nothing to do. I am ending up with a lot of…
Loopo
  • 415
  • 1
  • 9
  • 20
1
vote
2 answers

Redirect output from cron in real time, not after program has finished?

I have a ruby script that writes to STDOUT and sometimes STDERR. I am running this script every 5 minutes via a crontab: */5 * * * * /root/myscript.rb >> /var/log/myscript.log 2>&1 What I've noticed is that the log file will not be written to in…
Brian
  • 240
  • 3
  • 16