diff options
author | Lennart Poettering <lennart@poettering.net> | 2017-09-26 17:45:09 +0200 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2017-11-22 08:25:07 +0100 |
commit | eed88c29597329268e5bdcbf192f2133812091c2 (patch) | |
tree | c175f1624a12c4d1a05880ab6e81d9c5de8476b1 /src/basic/log.h | |
parent | 817ce9d4ab8a8f3b0362b4ccdb46c14d669c8a18 (diff) |
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.
Diffstat (limited to 'src/basic/log.h')
-rw-r--r-- | src/basic/log.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/basic/log.h b/src/basic/log.h index 38b71a593..5633a2b42 100644 --- a/src/basic/log.h +++ b/src/basic/log.h @@ -311,6 +311,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); #endif // 0 +void log_set_open_when_needed(bool b); int log_syntax_internal( const char *unit, |