[Web-SIG] serving (potentially large) files through wsgi?
graham.dumpleton at gmail.com
Fri Dec 21 02:18:09 CET 2007
On 21/12/2007, Brian Smith <brian at briansmith.org> wrote:
> specification should then also explicitly say that WSGI applications
> should not redirect logging output to wsgi.errors or anywhere else. In
> fact, if that was done, there would be no reason to have wsgi.errors in
> the first place.
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.
If wsgi.errors disappeared then it would be a potential problem where
Apache was used for multiple virtual hosts and each virtual host had
its own error logs. This is because logging may well end up in main
Apache error log to which individual virtual host owners may not have
More information about the Web-SIG