chiark / gitweb /
pid1: preserve current value of log level across re-{load,execution}
authorFranck Bui <fbui@suse.com>
Wed, 30 May 2018 15:57:23 +0000 (17:57 +0200)
committerSven Eden <yamakuzure@gmx.net>
Fri, 24 Aug 2018 14:47:08 +0000 (16:47 +0200)
commitfbec3e74602e2d895748577c0cbb7d46b987184c
tree9354300e67eb1d1c1f13f7a2443e7a4a6b09a9b8
parent1816567a45928b1022db20bdc00db66b9717a83f
pid1: preserve current value of log level across re-{load,execution}

To make debugging easier, this patches allows one to change the log level and
do reload/reexec without modifying configuration permanently, which makes
debugging easier.

Indeed if one changed the log max level at runtime (via the bus or via
signals), the change was lost on the next daemon reload/reexecution.

In order to restore the original value back (set via system.conf, environment
variables or any other means), the empty string in the "LogLevel" property is
now supported as well as sending SIGRTMIN+23 signal.
man/elogind.xml