Fix Bug #1293: --syslog option writes to emergency level
authorotih <otih@datensalat.eu>
Thu, 3 Jul 2014 21:34:44 +0000 (23:34 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Sun, 14 Sep 2014 19:58:52 +0000 (21:58 +0200)
src/common/logger.cpp

index fe63adc..18b8225 100644 (file)
@@ -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