mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-24 16:14:45 +00:00
fix lognames for -D option
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@2389 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
dc960185df
commit
7f4b062f7c
1 changed files with 2 additions and 1 deletions
|
|
@ -184,7 +184,8 @@ class Configuration (dict):
|
|||
if 'all' in debug:
|
||||
debug = linkcheck.lognames.values()
|
||||
for name in debug:
|
||||
logging.getLogger(name).setLevel(logging.DEBUG)
|
||||
logname = linkcheck.lognames[name]
|
||||
logging.getLogger(logname).setLevel(logging.DEBUG)
|
||||
|
||||
def logger_new (self, loggertype, **kwargs):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Reference in a new issue