Source

mdhub / logging.conf

Full commit
[loggers]
keys=root,mdhub

[handlers]
keys=console

[handler_console]
class=StreamHandler
formatter=simple
args=(sys.stdout,)

[formatters]
keys=default,simple,complex

[formatter_default]
format=%(asctime)s %(name)-12s %(levelname)-8s %(funcName)-10s %(message)s
datefmt=%d/%m/%Y %H:%M

[formatter_simple]
format=%(asctime)s - %(name)s - %(levelname)s - %(message)s
datefmt=%d/%m/%Y %H:%M

[formatter_complex]
format=%(asctime)s %(levelname)-8s %(name)s - %(module)s:%(lineno)d - %(message)s
datefmt=%d/%m/%Y %H:%M

[logger_root]
level=NOTSET
handlers=

[logger_mdhub]
level=NOTSET
handlers=console
qualname=mdhub