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 a2e1666..d14097d 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"))