summaryrefslogtreecommitdiff
path: root/logging.h
diff options
context:
space:
mode:
Diffstat (limited to 'logging.h')
-rw-r--r--logging.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/logging.h b/logging.h
index e0dcb80305..dd520dd874 100644
--- a/logging.h
+++ b/logging.h
@@ -61,7 +61,7 @@ extern void log_message(int priority, const char *format, ...)
#undef logging_init
static inline void logging_init(const char *program_name)
{
- openlog(program_name, LOG_PID, LOG_DAEMON);
+ openlog(program_name, LOG_PID | LOG_CONS, LOG_DAEMON);
}
#undef logging_close