This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vinay.sajip
Recipients amaury.forgeotdarc, shinta.nakayama, vinay.sajip
Date 2012-04-02.00:16:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1333325790.64.0.792849593461.issue14450@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2012-04-02 00:16:30vinay.sajipsetrecipients: + vinay.sajip, amaury.forgeotdarc, shinta.nakayama
2012-04-02 00:16:30vinay.sajipsetmessageid: <1333325790.64.0.792849593461.issue14450@psf.upfronthosting.co.za>
2012-04-02 00:16:30vinay.sajiplinkissue14450 messages
2012-04-02 00:16:29vinay.sajipcreate