log: add a mode where we open the log fds for every single log message

This we can then make use in execute.c to make error logging a bit less
special when preparing for process execution, as we can still log but
don't have any fds open continously.
This commit is contained in:
Lennart Poettering
2017-09-26 17:46:33 +02:00
parent 7558e10c98
commit 16e4fd87c5
2 changed files with 60 additions and 34 deletions
+1
View File
@@ -303,6 +303,7 @@ void log_received_signal(int level, const struct signalfd_siginfo *si);
void log_set_upgrade_syslog_to_journal(bool b);
void log_set_always_reopen_console(bool b);
void log_set_open_when_needed(bool b);
int log_syntax_internal(
const char *unit,