summaryrefslogtreecommitdiff
path: root/src/shared/log.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-05-22 22:00:37 +0200
committerLennart Poettering <lennart@poettering.net>2012-05-22 22:00:37 +0200
commita6903061530cac5fbaa99a080a93221c02c349f9 (patch)
tree63eea46db06faef4b04fd81b00596d40ac800abd /src/shared/log.h
parent399c5f96331ad5281fdb75a7c0c66cc703f7eeb6 (diff)
log: make sure generators never log into the journal to avoid activation deadlocks
This makes all generators log to kmsg by default.
Diffstat (limited to 'src/shared/log.h')
-rw-r--r--src/shared/log.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/log.h b/src/shared/log.h
index b2f5f2a920..59d4c00f7d 100644
--- a/src/shared/log.h
+++ b/src/shared/log.h
@@ -36,6 +36,7 @@ typedef enum LogTarget{
LOG_TARGET_SYSLOG,
LOG_TARGET_SYSLOG_OR_KMSG,
LOG_TARGET_AUTO, /* console if stderr is tty, JOURNAL_OR_KMSG otherwise */
+ LOG_TARGET_SAFE, /* console if stderr is tty, KMSG otherwise */
LOG_TARGET_NULL,
_LOG_TARGET_MAX,
_LOG_TARGET_INVALID = -1