From a6903061530cac5fbaa99a080a93221c02c349f9 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 22 May 2012 22:00:37 +0200 Subject: log: make sure generators never log into the journal to avoid activation deadlocks This makes all generators log to kmsg by default. --- src/shared/log.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/shared/log.h') 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 -- cgit v1.2.3-54-g00ecf