LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > LinuxQuestions.org > Linux - News > Syndicated Linux News
User Name
Password
Syndicated Linux News This forum is for the discussion of Syndicated Linux News stories.

Notices

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

Rep: Reputation: 82
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.

Read More...
 
  


Reply


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


All times are GMT -5. The time now is 06:08 AM.

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