A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2012-November/122874.html below:

[Python-Dev] logging and rotation

[Python-Dev] logging and rotation [Python-Dev] logging and rotationOleg Broytman phd at phdru.name
Sun Nov 25 18:02:12 CET 2012
On Sun, Nov 25, 2012 at 01:14:11PM +0100, Matthias Bernt <MatatTHC at gmx.de> wrote:
> I'm using the logging module and write my log messages via the FileHandler.
> I just realized that using an external log rotation mechanism does not
> work. That is, new messages are not added to the file after
> rotation.

   An external log rotation mechanism ought to send a signal to the
application and the application ought to close and reopen logs. That is,
this is an application-level problem, not logging module-level.

Oleg.
-- 
     Oleg Broytman            http://phdru.name/            phd at phdru.name
           Programmers don't die, they just GOSUB without RETURN.
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4