aboutsummaryrefslogtreecommitdiff
path: root/utils.c
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2023-10-19 13:38:26 +0200
committerToni Uhlig <matzeton@googlemail.com>2023-10-19 13:38:26 +0200
commit315dc32baf722c6063c18b5a27d02037dc49ece8 (patch)
tree01c269b934705c9e304e73c621e336013899072b /utils.c
parent3d0c06ef54a451c1cb56c6ba1515a079e4028151 (diff)
Improved syslog logging.
* fixed missing log level for non-error message, causes systemd to send broadcast messages * completly removed logging to stderr while started via systemd Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'utils.c')
-rw-r--r--utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils.c b/utils.c
index e58c2beb2..337628379 100644
--- a/utils.c
+++ b/utils.c
@@ -352,7 +352,7 @@ void vlogger(int is_error, char const * const format, va_list ap)
{
if (is_error == 0)
{
- vsyslog(LOG_DAEMON, format, ap);
+ vsyslog(LOG_DAEMON | LOG_INFO, format, ap);
}
else
{