mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-30 14:49:28 +01:00
log: default level should be INFO, not DEBUG
This commit is contained in:
parent
cf1de08457
commit
de84a5b437
3
log.py
3
log.py
@ -12,7 +12,8 @@ import os
|
|||||||
|
|
||||||
from conf import conf, confname
|
from conf import conf, confname
|
||||||
|
|
||||||
level = conf['bot'].get('loglevel') or 'DEBUG'
|
level = conf['bot'].get('loglevel') or 'INFO'
|
||||||
|
|
||||||
try:
|
try:
|
||||||
level = getattr(logging, level.upper())
|
level = getattr(logging, level.upper())
|
||||||
except AttributeError:
|
except AttributeError:
|
||||||
|
Loading…
Reference in New Issue
Block a user