Skip to content

Commit fa35a8f

Browse files
committed
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
1 parent 3597d43 commit fa35a8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

debug.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
__report_indent = [4]
1515
increment = 2
1616
debug = True
17-
syslog.openlog("debug", syslog.LOG_PID, syslog.LOG_USER)
17+
#syslog.openlog("debug", syslog.LOG_PID, syslog.LOG_USER)
1818

1919
def set_indent(i):
2020
__report_indent[0] = i

0 commit comments

Comments
 (0)