[issue6458] With logging.config.fileConfig can't create logger without handler

2009-07-13 Thread Vinay Sajip
Vinay Sajip added the comment: Just set up a handlers= line in the relevant sections. You don't have to actually specify any handlers. -- nosy: +vsajip resolution: -> invalid status: open -> closed ___ Python tracker

[issue6458] With logging.config.fileConfig can't create logger without handler

2009-07-10 Thread Sean
Sean added the comment: there is a missing "format=" on the last line of my config file. Doesn't change the stated problem though. -- ___ Python tracker ___ _

[issue6458] With logging.config.fileConfig can't create logger without handler

2009-07-10 Thread Sean
New submission from Sean : Using "logging" module I can do the following: f = logging.Formatter("%(levelname)s: %(name)s: %(message)s") h = logging.StreamHandler() h.setLevel(logging.NOTSET) h.setFormatter(f) l = logging.getLogger() l.addHandler(h) l2 = logging.getLo