fix code inspects
This commit is contained in:
parent
2343763598
commit
d0338fd4e7
1 changed files with 1 additions and 1 deletions
|
|
@ -633,7 +633,7 @@ def setup_logging2(opts):
|
|||
name = 'koji' + name
|
||||
elif not name.startswith('koji'):
|
||||
name = 'koji.' + name
|
||||
level_code = logging._levelNames[level]
|
||||
level_code = logging.getLevelName(level)
|
||||
logging.getLogger(name).setLevel(level_code)
|
||||
logger = logging.getLogger("koji")
|
||||
# if KojiDebug is set, force main log level to DEBUG
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue