diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-01-25 17:02:36 -0500 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2015-01-25 17:02:36 -0500 |
commit | d08c44759ababc16e6ea53ca2477e73e7286e1b5 (patch) | |
tree | ba432a55963d2ec3bee18fc19ea661c460f99337 /src/shared/log.h | |
parent | 4e716cdeb5d3ec2082ad5b92fc691277a37b4639 (diff) |
log: add new log output mode, that prints to console, but
prefixes with syslog priority
This is useful when we execute our own programs, reading output from its
STDERR, and want to retain priority information.
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/shared/log.h')
-rw-r--r-- | src/shared/log.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/log.h b/src/shared/log.h index 485f3fa0f6..9d4f64d6cd 100644 --- a/src/shared/log.h +++ b/src/shared/log.h @@ -28,6 +28,7 @@ typedef enum LogTarget{ LOG_TARGET_CONSOLE, + LOG_TARGET_CONSOLE_PREFIXED, LOG_TARGET_KMSG, LOG_TARGET_JOURNAL, LOG_TARGET_JOURNAL_OR_KMSG, |