From fa35a8f8fe1856a486bfece9f2920d7b0fa4fb95 Mon Sep 17 00:00:00 2001 From: Henrik Levkowetz Date: Fri, 29 Jun 2012 00:36:17 +0000 Subject: [PATCH] Don't initialize syslog here -- it might override the app's initialization. (Python will do an empty call to syslog.openlog() if not already done when first calling syslog.syslog().) - Legacy-Id: 4554 --- debug.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debug.py b/debug.py index 0aa674421..ca5b304d2 100644 --- a/debug.py +++ b/debug.py @@ -14,7 +14,7 @@ from pprint import pformat __report_indent = [4] increment = 2 debug = True -syslog.openlog("debug", syslog.LOG_PID, syslog.LOG_USER) +#syslog.openlog("debug", syslog.LOG_PID, syslog.LOG_USER) def set_indent(i): __report_indent[0] = i