]> git.ipfire.org Git - ddns.git/commitdiff
Don't log debugging output to syslog.
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 22 Jun 2014 14:55:19 +0000 (14:55 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 22 Jun 2014 14:55:19 +0000 (14:55 +0000)
src/ddns/__init__.py

index a2e1666910892af24112dfc29498ea2ec6bf43e3..d14097dbcb9cf97be66162352765cf73061ab1b6 100644 (file)
@@ -54,8 +54,6 @@ class DDNSCore(object):
                if debug:
                        rootlogger = logging.getLogger("ddns")
                        rootlogger.setLevel(logging.DEBUG)
-                       for handler in rootlogger.handlers:
-                               handler.setLevel(logging.DEBUG)
 
                        logger.debug(_("Debugging mode enabled"))