"Gabor Urban" <[EMAIL PROTECTED]> wrote in
news:[EMAIL PROTECTED]: 

> ------=_Part_36089_18686793.1185871599583
> Hullo,
> 
> I have started to use Python's logging, and got a problem. I have
> created some loggers and wrote some lines in the log. The problem is,
> that most of the lines appear doubled in the log, and some lines do
> not appear at all. 
> 
> Any ideas or comments are wellcome,
> 
> Gabor
> 
> Here is the code:
> 
> import sys
> import logging
> 
> l = logging.getLogger('XmlTester')
> la = logging.getLogger('XmlTester.XmlParser')
> lb = logging.getLogger('XmlTester.TestExecutor')

I other worlds, loggers are hierarchical, and so XmlTester.XmlParser may be 
a child of XmlTester and so inheriting some of the properties of its 
parent.

bests,
./alex
--
.w( the_mindstorm )p.

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to