构建使用基础镜像
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.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
 

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=('/app/log.log', 'a')
level=INFO
formatter=formatter
[formatter_formatter]
format=%(asctime)s - %(name)s - %(levelname)s - %(message)s
datefmt=