]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
If using libdaemon logs default to daemonlog, otherwise to stderr.
authorMike Brady <4265913+mikebrady@users.noreply.github.com>
Mon, 19 Jul 2021 16:09:52 +0000 (17:09 +0100)
committerMike Brady <4265913+mikebrady@users.noreply.github.com>
Mon, 19 Jul 2021 16:09:52 +0000 (17:09 +0100)
common.c

index fcbf4fb5f253192f9495c1dc372d63e3ace5cf70..5d922b74e76de414e6b403c83c17664e8e552401 100644 (file)
--- a/common.c
+++ b/common.c
@@ -231,7 +231,7 @@ void log_to_syslog() {
 #ifdef CONFIG_LIBDAEMON
   sps_log = daemon_log;
 #else
-  sps_log = syslog;
+  sps_log = do_sps_log_to_stderr;
 #endif
 }