Am 05.12.2014 um 02:48 schrieb Ryan Kelly:

I don't have any other concrete suggestions to offer.  Perhaps the
logging config is not being picked up correctly from this file, or is
silently erroring out?

There was an silent error. I got it when I called fileConfig without try/except. A fomatter section is mandatory. My config is now the below one and it seems to work. I hope that the format string is the default value. I don't found an info.

Ryan, thanks a lot to bring me on the right way!

Dominik



[loggers]
keys = root

[handlers]
keys = console

[formatters]
keys = form01

[logger_root]
level = WARN
handlers = console

[handler_console]
class = StreamHandler
args = (sys.stderr,)
level = WARN
formatter=form01

[formatter_form01]
format=F1 %(asctime)s %(levelname)s %(message)s
datefmt=
class=logging.Formatter
_______________________________________________
Sync-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/sync-dev

Reply via email to