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.
32 lines
520 B
32 lines
520 B
[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 - %(module)s:%(lineno)d - %(levelname)s - %(message)s |