summaryrefslogtreecommitdiff
path: root/src/log.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/log.h')
-rw-r--r--src/log.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/log.h b/src/log.h
index 9942e3e9a0..6ab07a5422 100644
--- a/src/log.h
+++ b/src/log.h
@@ -27,14 +27,14 @@
#include "macro.h"
-/* If set to SYSLOG and /dev/log can not be opened we fall back to
- * KSMG. If KMSG fails, we fall back to CONSOLE */
typedef enum LogTarget{
LOG_TARGET_CONSOLE,
LOG_TARGET_KMSG,
+ LOG_TARGET_JOURNAL,
+ LOG_TARGET_JOURNAL_OR_KMSG,
LOG_TARGET_SYSLOG,
LOG_TARGET_SYSLOG_OR_KMSG,
- LOG_TARGET_AUTO, /* console if stderr is tty, SYSLOG_OR_KMSG otherwise */
+ LOG_TARGET_AUTO, /* console if stderr is tty, JOURNAL_OR_KMSG otherwise */
LOG_TARGET_NULL,
_LOG_TARGET_MAX,
_LOG_TARGET_INVALID = -1
@@ -60,6 +60,7 @@ void log_close(void);
void log_forget_fds(void);
void log_close_syslog(void);
+void log_close_journal(void);
void log_close_kmsg(void);
void log_close_console(void);