[Python-Dev] logging and rotation
MatatTHC at gmx.de
Sun Nov 25 13:14:11 CET 2012
Dear mailing list,
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
In my opinion external log rotate mechanisms should work with the standard
websearch pointed me to TimedRotatingFileHandler . But this only seems like
a workaround. For instance I would like to get my log file mailed once a
week. But it seems difficult to sync the cron job doing this and the
I think TimedRotatingFileHandler is important, e.g. for windows users. But
for *nux users this seems to be unnecessary.
Just want to gather some opinions before filing a bug.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-Dev