On 22/12/2007, Manlio Perillo <[EMAIL PROTECTED]> 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.

Graham
_______________________________________________
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