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

Manlio Perillo manlio_perillo at libero.it
Sat Dec 22 10:45:27 CET 2007

Graham Dumpleton ha scritto:
> [...]
> It therefore seemed more consistent for only wsgi.errors to be bound
> to request, given that it comes through request environment. This can
> then map to internal Apache ap_log_rerror() function, allowing client
> IP to be listed against message in error log file.
> For sys.stderr, instead use internal Apache ap_log_error() function,
> which will log against server context. For embedded mode of mod_wsgi
> this is main Apache error log and for daemon mode the VirtualHost if
> daemon process is associated with the virtual host. Thus if
> VirtualHost has its own error log different to the main Apache error
> log it will go there.
> This seemed to be about the best compromise one could hope for and so
> what the mod_wsgi C core code does.


Manlio Perillo

More information about the Web-SIG mailing list