Skip to content

Commit

Permalink
[log] Expose correct priority to journal
Browse files Browse the repository at this point in the history
  • Loading branch information
Bernd Wachter committed Jul 5, 2013
1 parent 69ac444 commit b0f9a50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libssu/ssulog.cpp
Expand Up @@ -25,7 +25,7 @@ void SsuLog::print(int priority, QString message){
QByteArray ba = message.toUtf8();
const char *ca = ba.constData();

if (sd_journal_print(LOG_INFO, "ssu: %s", ca) < 0 && fallbackLogPath != ""){
if (sd_journal_print(priority, "ssu: %s", ca) < 0 && fallbackLogPath != ""){
QFile logfile;
QTextStream logstream;
logfile.setFileName(fallbackLogPath);
Expand Down

0 comments on commit b0f9a50

Please sign in to comment.