diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2023-10-19 13:38:26 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2023-10-19 13:38:26 +0200 |
commit | 315dc32baf722c6063c18b5a27d02037dc49ece8 (patch) | |
tree | 01c269b934705c9e304e73c621e336013899072b /utils.c | |
parent | 3d0c06ef54a451c1cb56c6ba1515a079e4028151 (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 { |