Keyerror addhandler

Peter Otten __peter__ at
Mon Apr 20 10:48:57 CEST 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



More information about the Python-list mailing list