From: otih Date: Thu, 3 Jul 2014 21:34:44 +0000 (+0200) Subject: Fix Bug #1293: --syslog option writes to emergency level X-Git-Tag: 0.10.1~17 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=e9bc006ec4dcafe42b4d161f4ff6648125116029 Fix Bug #1293: --syslog option writes to emergency level --- diff --git a/src/common/logger.cpp b/src/common/logger.cpp index fe63adc5..18b8225b 100644 --- a/src/common/logger.cpp +++ b/src/common/logger.cpp @@ -77,7 +77,7 @@ void Logger::log() prio = LOG_INFO; break; } - syslog(prio|LOG_LOCAL0, "%s", qPrintable(_buffer)); + syslog(prio|LOG_USER, "%s", qPrintable(_buffer)); } #endif