Fixes #4851 Set syslog debug mode for accelerate properly

This commit is contained in:
James Tanner 2013-11-18 09:56:12 -05:00
parent 99dfa1afec
commit 0ce1123693

View file

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