[sugar] [PATCH] Fix logging setup

Tomeu Vizoso tomeu at tomeuvizoso.net
Mon May 19 16:00:36 EDT 2008


Hi,

this patch worksaround a weirdness in logging.basicConfig by which it
won't have any effect if there's already a Handler in the root logger.
Any previous call to logging.debug will autocreate a handler,
rendering our logger configuration ineffective.

Thanks,

Tomeu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-logging-setup.patch
Type: text/x-patch
Size: 913 bytes
Desc: not available
Url : http://lists.laptop.org/pipermail/sugar/attachments/20080519/73a0fe2f/attachment.bin 


More information about the Sugar mailing list