logging error with RotatingFileHandler
Vinay Sajip
vinay_sajip at yahoo.co.uk
Thu Jun 29 14:13:59 EDT 2006
flupke wrote:
> If this bug is fixed, where will i find a fixed version and how do i
> install it?
> Also, more important to me, what am i doing wrong to get this error
> message in the first place?
You're not doing anything particularly wrong, though it's not exactly
good practice to call fileConfig lots of times. (It's really meant for
one-off configuration, not incremental configuration.)
I get an error with just the following script typed in at the
interactive prompt:
import logging.config
logging.config.fileConfig("logconf.ini")
logging.config.fileConfig("logconf.ini")
So, I will investigate, and when I check in a fix to the Python
Subversion repository, I will post a message to this thread.
Regards,
Vinay Sajip
More information about the Python-list
mailing list