Am Dienstag, 21. Mai 2013 18:48:07 UTC+2 schrieb John Gordon:
> In <kng7n6$efc$1...@reader1.panix.com> John Gordon <gor...@panix.com> writes:
> 
> 
> 
> > You should only call addHandler() once.
> 
> 
> 
> ...for each intended logging output destination, of course.  If you want
> 
> logging output to appear in a file and on-screen, then you would call
> 
> addHandler() once with a file handler and once with a screen handler.
> 
> 
> 
> But I think you may be calling addHandler multiple times for the same
> 
> file handler, which is causing the duplicate logging output.
> 
> 
> 
> -- 
> 
> John Gordon                   A is for Amy, who fell down the stairs
> 
> gor...@panix.com              B is for Basil, assaulted by bears
> 
>                                 -- Edward Gorey, "The Gashlycrumb Tinies"

Yes you're right.
Many thanks!
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to