Difficult-Rocket/configs/logging.json5

25 lines
782 B
Plaintext
Raw Normal View History

2021-01-25 17:01:54 +08:00
{
'server': {
'level': 'DEBUG',
// option: CRITICAL ERROR WARNING INFO DEBUG
'date_fmt': '%Y-%m-%d %H-%M-%S'
// format at https://docs.python.org/zh-cn/3.8/library/time.html#time.strftime
},
'client': {
'level': 'DEBUG',
// option: CRITICAL ERROR WARNING INFO DEBUG
'date_fmt': '%Y-%m-%d %H-%M-%S'
// format at https://docs.python.org/zh-cn/3.8/library/time.html#time.strftime
},
'file': {
'level': 'DEBUG',
// option: CRITICAL ERROR WARNING INFO DEBUG
'filename': {
'main': '{date} SR.log',
// {date} -> date
2021-01-25 19:23:16 +08:00
'{date}': '%Y-%m-%d %H-%M-%S'
2021-01-25 17:01:54 +08:00
// format at https://docs.python.org/zh-cn/3.8/library/time.html#time.strftime
2021-01-25 19:23:16 +08:00
// can and more {xx} by adding more obj EZ
2021-01-25 17:01:54 +08:00
}
}
}