Re: Logging with Logger hierarchies

2006-10-20 Thread Robert
Hi again I have seen my error! I was mistakenly occasionally creating the logger using logger = logging.Logger("a.b.c") instead of logger = logging.getLogger("a.b.c") Doh. I miss my private constructors to save me from such embarrasment ;^) Cheers Robert -- http://mail.python.org/mailman/li

Re: Logging with Logger hierarchies

2006-10-20 Thread Vinay Sajip
> I delved in the code and found that when my logger "a.b.c" is created, > it doesn't create Loggers for "a.b" or "a" but rather instances of a > PlaceHolder class. If I actually call logging.getLogger("a.b") and > logging.getLogger("a") then the PlaceHolders get converted to Loggers > and the hie