From: Michael Tremer Date: Sun, 22 Jun 2014 14:55:19 +0000 (+0000) Subject: Don't log debugging output to syslog. X-Git-Tag: 001~15 X-Git-Url: http://git.ipfire.org/?p=oddments%2Fddns.git;a=commitdiff_plain;h=251ab13f71b9de2bdedcd6d69cd7f7f49874b4c0;ds=sidebyside Don't log debugging output to syslog. --- diff --git a/src/ddns/__init__.py b/src/ddns/__init__.py index a2e1666..d14097d 100644 --- a/src/ddns/__init__.py +++ b/src/ddns/__init__.py @@ -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"))