wrong argument.
This commit is contained in:
parent
d304ff0e4d
commit
35a49c57ae
|
@ -22,7 +22,7 @@ def run(arg):
|
||||||
|
|
||||||
l = getLogger('plugin_log')
|
l = getLogger('plugin_log')
|
||||||
l.addHandler(logHandler)
|
l.addHandler(logHandler)
|
||||||
if config.getboolean('sample_log', 'debug', False):
|
if config.getboolean('sample_log', 'debug'):
|
||||||
l.setLevel(DEBUG)
|
l.setLevel(DEBUG)
|
||||||
l.debug('debug logging enabled')
|
l.debug('debug logging enabled')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue