[sugar] [PATCH] Fix logging setup
Simon Schampijer
simon at schampijer.de
Mon May 26 12:00:42 EDT 2008
Hmm, looks like we have to do that workaround for the moment. I think you don't
have to pass an empty string to logging.getLogger() since the default value is None.
Best,
Simon
Tomeu Vizoso wrote:
> 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
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Sugar mailing list
> Sugar at lists.laptop.org
> http://lists.laptop.org/listinfo/sugar
More information about the Sugar
mailing list