Commit 0ce11236 by James Tanner

Fixes #4851 Set syslog debug mode for accelerate properly

parent 99dfa1af
......@@ -103,7 +103,7 @@ CHUNK_SIZE=10240
DEBUG_LEVEL=0
def log(msg, cap=0):
global DEBUG_LEVEL
if cap >= DEBUG_LEVEL:
if DEBUG_LEVEL >= cap:
syslog.syslog(syslog.LOG_NOTICE|syslog.LOG_DAEMON, msg)
def vv(msg):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment