Fixes #4851 Set syslog debug mode for accelerate properly
This commit is contained in:
parent
99dfa1afec
commit
0ce1123693
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ CHUNK_SIZE=10240
|
||||||
DEBUG_LEVEL=0
|
DEBUG_LEVEL=0
|
||||||
def log(msg, cap=0):
|
def log(msg, cap=0):
|
||||||
global DEBUG_LEVEL
|
global DEBUG_LEVEL
|
||||||
if cap >= DEBUG_LEVEL:
|
if DEBUG_LEVEL >= cap:
|
||||||
syslog.syslog(syslog.LOG_NOTICE|syslog.LOG_DAEMON, msg)
|
syslog.syslog(syslog.LOG_NOTICE|syslog.LOG_DAEMON, msg)
|
||||||
|
|
||||||
def vv(msg):
|
def vv(msg):
|
||||||
|
|
Loading…
Reference in a new issue