29 lines
545 B
INI
29 lines
545 B
INI
|
[loggers]
|
||
|
keys=root
|
||
|
|
||
|
[handlers]
|
||
|
keys=consoleHandler, timedRotatingFileHandler
|
||
|
|
||
|
[formatters]
|
||
|
keys=simpleFormatter
|
||
|
|
||
|
[logger_root]
|
||
|
level=DEBUG
|
||
|
handlers=consoleHandler, timedRotatingFileHandler
|
||
|
|
||
|
[handler_timedRotatingFileHandler]
|
||
|
class=handlers.TimedRotatingFileHandler
|
||
|
level=DEBUG
|
||
|
formatter=simpleFormatter
|
||
|
args=('ADSB_Encoder.log', 'H', 1, 72)
|
||
|
|
||
|
[handler_consoleHandler]
|
||
|
class=StreamHandler
|
||
|
level=WARNING
|
||
|
formatter=simpleFormatter
|
||
|
args=(sys.stdout,)
|
||
|
|
||
|
[formatter_simpleFormatter]
|
||
|
format=%(asctime)s - %(name)s - %(levelname)s - %(message)s
|
||
|
datefmt=
|