summaryrefslogtreecommitdiff
path: root/src/getty-generator
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/getty-generator
parent399c5f96331ad5281fdb75a7c0c66cc703f7eeb6 (diff)
downloadsystemd-a6903061530cac5fbaa99a080a93221c02c349f9.tar.gz
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/getty-generator')
-rw-r--r--src/getty-generator/getty-generator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/getty-generator/getty-generator.c b/src/getty-generator/getty-generator.c
index 13dca7d1b0..b2e4f52c3c 100644
--- a/src/getty-generator/getty-generator.c
+++ b/src/getty-generator/getty-generator.c
@@ -104,7 +104,7 @@ int main(int argc, char *argv[]) {
return EXIT_FAILURE;
}
- log_set_target(LOG_TARGET_AUTO);
+ log_set_target(LOG_TARGET_SAFE);
log_parse_environment();
log_open();