tree-wide: Use log_setup() everywhere
Otherwise the default log target is the console and we won't use the journal socket even if it is available.
This commit is contained in:
@@ -970,6 +970,5 @@ void log_setup_generator(void) {
|
||||
log_set_target(LOG_TARGET_JOURNAL_OR_KMSG);
|
||||
}
|
||||
|
||||
log_parse_environment();
|
||||
(void) log_open();
|
||||
log_setup();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user