From 0ce11236932016573bae3c4f8393ed0328f34602 Mon Sep 17 00:00:00 2001 From: James Tanner Date: Mon, 18 Nov 2013 09:56:12 -0500 Subject: [PATCH] Fixes #4851 Set syslog debug mode for accelerate properly --- library/utilities/accelerate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/utilities/accelerate b/library/utilities/accelerate index d8b4f0b1762..84c23f144d8 100644 --- a/library/utilities/accelerate +++ b/library/utilities/accelerate @@ -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):