修改日志输出格式

This commit is contained in:
shmilylty
2019-08-04 03:20:25 +08:00
parent ecc6bd955f
commit 666942640e
+1 -1
View File
@@ -152,7 +152,7 @@ subdomains_common = {'i', 'w', 'm', 'en', 'us', 'zh', 'w3', 'app', 'bbs', 'web',
'data', 'help', 'live', 'mall', 'blogs', 'files', 'forum', 'store', 'mobile'} 'data', 'help', 'live', 'mall', 'blogs', 'files', 'forum', 'store', 'mobile'}
# 日志配置 # 日志配置
stdout_fmt = '<light-green>{time:HH:mm:ss,SSS}</light-green> ' \ stdout_fmt = '<cyan>{time:HH:mm:ss,SSS}</cyan> ' \
'[<level>{level: <5}</level>] ' \ '[<level>{level: <5}</level>] ' \
'<blue>{module}</blue>:<cyan>{line}</cyan> - ' \ '<blue>{module}</blue>:<cyan>{line}</cyan> - ' \
'<level>{message}</level>' '<level>{message}</level>'