Keyerror addhandler
Peter Otten
__peter__ at web.de
Mon Apr 20 04:48:57 EDT 2009
Steven Macintyre wrote:
Please don't top-post.
[Diez B. Roggisch]
> For me, that fails with
> NameError: name 'RotatingFileHandler' is not defined
[Steven Macintyre]
> I am using 2.4, could that be the cuase of your issue below.
>
> Ideally, I would like to stay with the 2.4 version and based on two
> tutorials, this was what I came up with
It looks like 2.5 has the better error message, but the actual problem is
the same for both versions. Try changing mylogfileHandler's class to
[handler_mylogfileHandler]
class=handlers.RotatingFileHandler
Peter
More information about the Python-list
mailing list