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
This commit is contained in:
Henrik Levkowetz 2012-06-29 00:36:17 +00:00
parent 3597d436ac
commit fa35a8f8fe

View file

@ -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