24 lines
733 B
Plaintext
24 lines
733 B
Plaintext
{
|
|
'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
|
|
'{date}': '%Y-%m-%d %H-%M-%S',
|
|
// format at https://docs.python.org/zh-cn/3.8/library/time.html#time.strftime
|
|
}
|
|
}
|
|
} |