chiark / gitweb /
udevd: track exit status of event process
[elogind.git] / logging.h
index e0dcb80305ecb08e081200801451b9f93096bdf2..dd520dd874908d39bd6771bc71437b06b65d7778 100644 (file)
--- 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