From: otih Date: Thu, 3 Jul 2014 20:58:35 +0000 (+0200) Subject: Fix Bug #1293: --syslog option writes to emergency level X-Git-Tag: 0.11.0~28^2~1 X-Git-Url: https://git.quassel-irc.org/?a=commitdiff_plain;h=e9b7fc677c991748192ecb54948476e530d8a3c8;p=quassel.git Fix Bug #1293: --syslog option writes to emergency level --- diff --git a/src/common/logger.cpp b/src/common/logger.cpp index 7cb7f4a0..220b4d4f 100644 --- a/src/common/logger.cpp +++ b/src/common/logger.cpp @@ -77,7 +77,7 @@ void Logger::log() prio = LOG_INFO; break; } - syslog(LOG_USER & prio, "%s", qPrintable(_buffer)); + syslog(prio|LOG_LOCAL0, "%s", qPrintable(_buffer)); } #endif