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.
|
|
|
[loggers]
|
|
|
|
keys=root,main
|
|
|
|
|
|
|
|
[handlers]
|
|
|
|
keys=consoleHandler,fileHandler
|
|
|
|
|
|
|
|
[formatters]
|
|
|
|
keys=fmt
|
|
|
|
|
|
|
|
[logger_root]
|
|
|
|
level=DEBUG
|
|
|
|
handlers=consoleHandler
|
|
|
|
|
|
|
|
[logger_main]
|
|
|
|
level=DEBUG
|
|
|
|
qualname=file
|
|
|
|
handlers=fileHandler
|
|
|
|
|
|
|
|
[handler_consoleHandler]
|
|
|
|
class=StreamHandler
|
|
|
|
level=DEBUG
|
|
|
|
formatter=fmt
|
|
|
|
args=(sys.stdout,)
|
|
|
|
|
|
|
|
[handler_fileHandler]
|
|
|
|
class=FileHandler
|
|
|
|
level=DEBUG
|
|
|
|
formatter=fmt
|
|
|
|
args=('pixiv.log','a','utf-8',False)
|
|
|
|
|
|
|
|
[formatter_fmt]
|
|
|
|
format=%(asctime)s - %(name)s - %(levelname)s - %(module)s :%(message)s
|
|
|
|
datefmt=%Y-%m-%d %H:%M:%S
|