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:
calvin 2005-03-09 21:57:51 +00:00
parent dc960185df
commit 7f4b062f7c

View file

@ -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):
"""