diff options
author | Lennart Poettering <lennart@poettering.net> | 2018-01-24 17:33:07 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2018-01-24 18:22:56 +0100 |
commit | 6fdb8de42fbd314f1d06019f9ba4c4a060898e5f (patch) | |
tree | 1b0ecc18459b1387ef8410e7e7e328bbe914d6bd /src/basic/log.h | |
parent | ab93297cd07361d1e7ce666740e09689a34c65b9 (diff) | |
download | systemd-6fdb8de42fbd314f1d06019f9ba4c4a060898e5f.tar.gz |
log: make log_set_upgrade_syslog_to_journal() take effect immediately
This doesn't matter much, and we don't rely on it, but I think it's much
nicer if we log_set_target() and log_set_upgrade_syslog_to_journal() can
be called in either order and have the same effect.
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 b97cdcd703..910a89a255 100644 --- a/src/basic/log.h +++ b/src/basic/log.h @@ -302,6 +302,7 @@ LogTarget log_target_from_string(const char *s) _pure_; void log_received_signal(int level, const struct signalfd_siginfo *si); +/* If turned on, any requests for a log target involving "syslog" will be implicitly upgraded to the equivalent journal target */ 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); |