[issue4749] Issue with RotatingFileHandler logging handler on Windows

Vinay Sajip report at bugs.python.org
Tue Mar 17 12:09:34 CET 2009


Vinay Sajip <vinay_sajip at yahoo.co.uk> added the comment:

Neyro, your problem is caused by having two handlers (a FileHandler and 
a RotatingFileHandler) pointing to the same file. Because of this, 
rollover fails (the file is still open because there is a handle open 
to it from the FileHandler).

If you remove the FileHandler from the config file and re-run, things 
appear to work as expected.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4749>
_______________________________________


More information about the Python-bugs-list mailing list