[mod_python] any way to log tracebacks on a single line w/ mod python?

Ling Bao lingbao at swingvine.com
Mon Jan 25 06:02:47 EST 2010


Mod Python seems to log tracebacks on multiple lines in the apache logs.
This can make it tough to setup simple monitoring alert emails w/ standard
tools like monit that alert developers when N distinct ERROR's or X distinct
WARNINGS occur w/in a set period of time. These tools can't tell if 5 lines
of apache errors are a single traceback of 5 distinct error entries.

Is there any way to configure mod python to log a single line per traceback?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20100125/401c6f3b/attachment.html


More information about the Mod_python mailing list