log: make sure generators never log into the journal to avoid activation deadlocks

This makes all generators log to kmsg by default.
This commit is contained in:
Lennart Poettering
2012-05-22 22:00:37 +02:00
parent 399c5f9633
commit a690306153
8 changed files with 11 additions and 7 deletions
+1 -1
View File
@@ -249,7 +249,7 @@ int main(int argc, char *argv[]) {
if (argc > 1)
arg_dest = argv[1];
log_set_target(LOG_TARGET_AUTO);
log_set_target(LOG_TARGET_SAFE);
log_parse_environment();
log_open();