Generate Summaries From Apache Error Logs


ScanErrLog is a Python module that allows you to parse Apache error_log files and present their data in decreasing order of occurences of error messages. This is particularly useful if you want to quickly solve the most annoying problems Web visitors encounter on your site. You can use it directly from the command line, import it into another Python program and use the classes it defines, or use it as a CGI script. You can produce reports in HTML, PDF, XML, or Plain Text formats.

ScanErrLog is used by web hosting providers worldwide to help their clients focus on the bugs they may have on their web sites. This gives an added value to their services, making their hosting solutions less error-prone, and improves the web experience of both their clients and all the web surfers who visit the sites they host.

[ http://freshmeat.net/projects/scanerrlog/ ]

To fire this up I used scanerrlog -f HTML -o error.html /var/log/apache2/error.log.1

2008-01-03-053457_1280x800_scrot.png

It is important to you -o erorr.html, with whatever html name you want or it will give you the html in stdout.



Subscribe without commenting


Leave a Reply

Note: Any comments are permitted only because the site owner is letting you post, and any comments will be removed for any reason at the absolute discretion of the site owner.