RE: Keyerror addhandler

2009-04-20 Thread Steven Macintyre
Hi Peter, > 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 Many thanks, this worked for me! Steven -- http://mail.python.org/mailman/l

RE: Keyerror addhandler

2009-04-20 Thread Peter Otten
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 base

RE: Keyerror addhandler

2009-04-20 Thread Steven Macintyre
Hi Diez, 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 Steven Steven Macintyre schrieb: > Hi all, > > I'm wondering if anyone can assist me with this as I am very confus

Re: Keyerror addhandler

2009-04-19 Thread Diez B. Roggisch
Steven Macintyre schrieb: Hi all, I'm wondering if anyone can assist me with this as I am very confused about it now. I am getting the following error; Traceback (most recent call last): File "/usr/lib/python2.4/logging/config.py", line 191, in fileConfig logger.addHandler(handlers[hand]