[Web-SIG] serving (potentially large) files through wsgi?

Chris Withers chris at simplistix.co.uk
Fri Dec 21 14:57:39 CET 2007

Graham Dumpleton wrote:
> At least in the context of Apache, wsgi.errors is different to
> sys.stderr or a global logging module output target. This is because
> wsgi.errors is linked to the actual request and so any output can be
> correctly redirected to a per virtual host error log.

Yeah, but there's still not concept of log levels.

Why not write a loghandler for python's logging package that takes the 
message, converts the log levels as necessary and sticks its output into 
the apache logging system?



Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk

More information about the Web-SIG mailing list