Browse Source

add test.txt

main
winloong 3 years ago
parent
commit
9df1997d67
  1. 28
      test.txt

28
test.txt

@ -0,0 +1,28 @@
[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=
Loading…
Cancel
Save