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
|
pass
|
||||||
else:
|
else:
|
||||||
try:
|
try:
|
||||||
symbolic = logging._levelNames[loglevel]
|
symbolic = logging._nameToLevel[loglevel]
|
||||||
except KeyError:
|
except KeyError:
|
||||||
log.warning(
|
log.warning(
|
||||||
'Ignored invalid loglevel configuration: %r',
|
'Ignored invalid loglevel configuration: %r',
|
||||||
|
|
Loading…
Reference in a new issue