logging error with RotatingFileHandler

Vinay Sajip vinay_sajip at yahoo.co.uk
Sun Jul 2 18:31:01 EDT 2006


flupke wrote:

> > -> The rename fails for some reason.

I would dig a little deeper to find out what the reason is. After all,
on the face of it, there's no obvious reason it should fail. The
"permission denied" indicates perhaps that some other process or thread
is keeping that file open?

I've fixed (AFAICT) both the crash at shutdown and the buggy exception
handling, in the Python subversion repository. You can download the
latest from here and try it.

http://svn.python.org/view/python/trunk/Lib/logging/

Regards,

Vinay Sajip




More information about the Python-list mailing list