chiark / gitweb /
pid1: preserve current value of log target across re-{load,execution}
authorFranck Bui <fbui@suse.com>
Fri, 1 Jun 2018 16:21:03 +0000 (18:21 +0200)
committerSven Eden <yamakuzure@gmx.net>
Fri, 24 Aug 2018 14:47:08 +0000 (16:47 +0200)
commit9ddac0a4a280233f8b169ae64db0e2b6b6ecc40d
tree27c13431597dd17d08c8f213a476b2346d978105
parentfbec3e74602e2d895748577c0cbb7d46b987184c
pid1: preserve current value of log target across re-{load,execution}

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

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

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