If using libdaemon logs default to daemonlog, otherwise to stderr.

This commit is contained in:
Mike Brady
2021-07-19 17:09:52 +01:00
parent 4c9d1f7904
commit 67455c19d6
+1 -1
View File
@@ -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
}