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

Manlio Perillo manlio_perillo at libero.it
Fri Dec 21 12:54:10 CET 2007

Graham Dumpleton ha scritto:
> On 21/12/2007, Brian Smith <brian at briansmith.org> wrote:
>> The
>> 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.

This is the same for Nginx.
sys.stderr is linked to the nginx main cycle logging, wsgi.errors to the 
request logging.

 > [...]

Manlio Perillo

More information about the Web-SIG mailing list