Update example and some tweak

This commit is contained in:
2019-10-29 21:51:41 +01:00
parent c548a789a8
commit 3e53a339ba
3 changed files with 65 additions and 29 deletions

29
logging.conf Normal file
View File

@@ -0,0 +1,29 @@
[loggers]
keys=root,example
[handlers]
keys=consoleHandler
[formatters]
keys=simpleFormatter
[logger_root]
level=DEBUG
handlers=consoleHandler
[logger_example]
level=DEBUG
handlers=consoleHandler
qualname=simpleExample
propagate=0
[handler_consoleHandler]
class=StreamHandler
level=DEBUG
formatter=simpleFormatter
args=(sys.stdout,)
[formatter_simpleFormatter]
format=%(asctime)s - %(name)s - %(levelname)s - %(message)s
datefmt=