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

Graham Dumpleton graham.dumpleton at gmail.com
Sat Dec 22 11:08:55 CET 2007

On 22/12/2007, Manlio Perillo <manlio_perillo at libero.it> wrote:
> Graham Dumpleton ha scritto:
> > [...]
> >
> > The more and more that this discussion goes on, the conclusion I am
> > coming to is that WSGI applications should simply not be using the web
> > server log files for application logging at all.
> >
> The problem with this is that log files cannot be easily rotated.

There are rotating log handlers in the Python logging package.

It only becomes problematic with a multi process server where you want
to merge output from multiple processes into one log file. This is
where passing log messages to syslog-ng could be used, with it
handling log rotation.


More information about the Web-SIG mailing list