logger: Make output to syslog nicer
authorWolfgang Müller <vehk@vehk.de>
Wed, 13 Feb 2019 23:27:18 +0000 (18:27 -0500)
committerManuel Nickschas <sputnick@quassel-irc.org>
Thu, 14 Feb 2019 19:24:48 +0000 (20:24 +0100)
commit5f771f4a6942248ebe0a5a690f19e509328265cf
tree029ecdeaee4dad29e1cfe40497a7aa1ec17070f5
parent63725f7edba44438faaafef013b46a21da0e9164
logger: Make output to syslog nicer

Resolve the level string in msgWithTime.  This means that the log
level string is included in logs to files and stdout even if syslog
output is enabled.

Resolve the program name using RunMode and BuildInfo, distinguishing
between client, core, and monolithic.

[Backported from 0.14/git-master]
src/common/logger.cpp
src/common/logger.h