Fixes #4851 Set syslog debug mode for accelerate properly

reviewable/pr18780/r1
James Tanner 11 years ago
parent be065a77d1
commit d9147bc0e0

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

Loading…
Cancel
Save