You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
497 B
Plaintext

[loggers]
keys=root
[handlers]
keys=stream_handler, file_handler
[formatters]
keys=formatter
[logger_root]
level=DEBUG
handlers=stream_handler, file_handler
[handler_stream_handler]
class=StreamHandler
level=FATAL
formatter=formatter
args=(sys.stderr,)
[handler_file_handler]
class=handlers.TimedRotatingFileHandler
level=DEBUG
formatter=formatter
args=('./logs/utility.log','midnight',1,5,'utf-8',False,True,)
[formatter_formatter]
format=%(asctime)s %(name)-12s %(levelname)-8s %(message)s