fix _levelNames error
This commit is contained in:
parent
1504a33496
commit
a6205344b1
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ class App(object):
|
|||
pass
|
||||
else:
|
||||
try:
|
||||
symbolic = logging._levelNames[loglevel]
|
||||
symbolic = logging._nameToLevel[loglevel]
|
||||
except KeyError:
|
||||
log.warning(
|
||||
'Ignored invalid loglevel configuration: %r',
|
||||
|
|
Loading…
Reference in a new issue