diff options
author | Kay Sievers <kay.sievers@suse.de> | 2005-11-05 16:22:14 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@suse.de> | 2005-11-05 16:22:14 +0100 |
commit | 57d782bf1e8313e65579a8faa9671a8e5ffecb2f (patch) | |
tree | 2ed49c12a7b6ca02e7c5f9ce3ae17821b2993875 | |
parent | 833b3c680b23dab87ba4918f25fbd5775dfd9ba8 (diff) |
log to console if syslog is not available
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
-rw-r--r-- | logging.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |