quetz-mod_python-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Graham Dumpleton" <grah...@dscpl.com.au>
Subject Re: glue between apache and python logging
Date Thu, 20 Oct 2005 23:27:06 GMT
Graham Dumpleton wrote ..
> Hopefully everyone follows what I am talking about. I will try and get
> together a working example today of what I am talking about, but Nick,
> you may want to consider posting your code and how you are using it
> as it probably will not be too different.

Okay, here is my suggested code. I have bundled it up as a tar file as a
complete working example as easier than explaining how to set it up for
testing. The .htaccess file sets up two handler phases, ie. separates
out the request caching bits as the intent would be that that all be
done in mod_python and be transparent anyway.

Note that I suspect that the log level mapping as described so far isn't
adequate as log levels can be arbitrary and may fall between the
predefined levels.


View raw message