diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-01-22 03:47:46 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-01-22 04:02:07 +0100 |
commit | aca83a53ee1dd01beafcd07c55c4cd6c3efb4224 (patch) | |
tree | c81270c1d0bfb7e607445ff512846d3187b81350 /src/shared/log.h | |
parent | 07e10d1a7c7535bd3938b09a11bf29b94a9dae77 (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.
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 d15d7c8f92..2889e1e77f 100644 --- a/src/shared/log.h +++ b/src/shared/log.h @@ -34,6 +34,7 @@ typedef enum LogTarget{ LOG_TARGET_CONSOLE, + LOG_TARGET_CONSOLE_PREFIXED, LOG_TARGET_KMSG, LOG_TARGET_JOURNAL, LOG_TARGET_JOURNAL_OR_KMSG, |