Graham Dumpleton ha scritto:
> On 21/12/2007, Brian Smith <[EMAIL PROTECTED]> 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
_______________________________________________
Web-SIG mailing list
Web-SIG@python.org
Web SIG: http://www.python.org/sigs/web-sig
Unsubscribe: 
http://mail.python.org/mailman/options/web-sig/archive%40mail-archive.com

Reply via email to