Vinay Sajip <vinay_sa...@yahoo.co.uk> added the comment:

This is not a logging bug. You called basicConfig with a file name, so the file 
is opened using a FileHandler and with file name LOG_FILENAME. You then add a 
RotatingFileHandler with the same name, so the file has two handles referring 
to it. When the time comes to rotate, the file is still open (with the 
FileHandler), which is why the rename fails on Windows (though Linux allows it).

Closing as invalid.

----------
nosy: +vinay.sajip
resolution:  -> invalid
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue14450>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to