You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
441 B
28 lines
441 B
[loggers]
|
|
keys=root
|
|
|
|
[handlers]
|
|
keys=fileHandler,stream_handler
|
|
|
|
[formatters]
|
|
keys=formatter
|
|
|
|
[logger_root]
|
|
level=INFO
|
|
handlers=fileHandler,stream_handler
|
|
|
|
[handler_stream_handler]
|
|
class=StreamHandler
|
|
args=(sys.stdout,)
|
|
level=INFO
|
|
formatter=formatter
|
|
|
|
[handler_fileHandler]
|
|
class=FileHandler
|
|
args=('logs/log.log', 'a')
|
|
level=INFO
|
|
formatter=formatter
|
|
|
|
[formatter_formatter]
|
|
format=%(asctime)s - %(name)s - %(levelname)s - %(message)s
|
|
datefmt=
|