Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - News > Syndicated Linux News
User Name
Syndicated Linux News This forum is for the discussion of Syndicated Linux News stories.


  Search this Thread
Old 03-23-2009, 03:10 PM   #1
LXer NewsBot
Registered: Dec 2005
Posts: 112,236

Rep: Reputation: 118Reputation: 118
LXer: Monitoring Apache logs using Python

Published at LXer:

Apache, among many other httpds, can be configured to log to an executable's STDIN instead of a file. But older Apaches, again like other httpds, won't let you pipe that programme's output to another's input, so you're limited to whatever the one was made to do.* httpd error logs often contain error conditions one wants to be alerted about, but for most people that means either monitoring it with some variant of tailf running on the host, or sshing to the host to run tail (or tail -f) on the log, piped to egrep, etcetera. This kind of set-up can work fine for one or two web servers, but gets cumbersome when you have more than just a few, and can become impracticable when dealing with many or when the error logs are being written to frequently.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Real time Monitoring squid logs jatender Linux - Server 3 10-03-2007 03:08 AM
LXer: Splitting Apache Logs With vlogger LXer Syndicated Linux News 0 06-19-2007 05:01 PM
Monitoring message and secure logs using regular expressions alienux Linux - General 0 05-01-2007 10:47 AM
LXer: Using R to Data Mine Apache Logs LXer Syndicated Linux News 0 10-11-2006 03:21 PM
Monitoring and Reporting of Squid Logs debloxie Linux - Networking 1 08-09-2006 03:59 AM > Forums > Linux Forums > Linux - News > Syndicated Linux News

All times are GMT -5. The time now is 03:51 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration