3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-12-28 13:42:37 +01:00

log: default level should be INFO, not DEBUG

This commit is contained in:
James Lu 2016-01-24 17:07:31 -08:00
parent cf1de08457
commit de84a5b437

3
log.py
View File

@ -12,7 +12,8 @@ import os
from conf import conf, confname
level = conf['bot'].get('loglevel') or 'DEBUG'
level = conf['bot'].get('loglevel') or 'INFO'
try:
level = getattr(logging, level.upper())
except AttributeError: