summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorFranck Bui <fbui@suse.com>2018-05-30 17:57:23 +0200
committerSven Eden <yamakuzure@gmx.net>2018-08-24 16:47:08 +0200
commitfbec3e74602e2d895748577c0cbb7d46b987184c (patch)
tree9354300e67eb1d1c1f13f7a2443e7a4a6b09a9b8 /man
parent1816567a45928b1022db20bdc00db66b9717a83f (diff)
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.
Diffstat (limited to 'man')
-rw-r--r--man/elogind.xml17
1 files changed, 10 insertions, 7 deletions
diff --git a/man/elogind.xml b/man/elogind.xml
index 7cf3f7d87..bfe130e98 100644
--- a/man/elogind.xml
+++ b/man/elogind.xml
@@ -839,15 +839,18 @@
<varlistentry>
<term><constant>SIGRTMIN+22</constant></term>
+
+ <listitem><para>Sets the service manager's log level to <literal>debug</literal>, in a fashion equivalent to
+ <varname>systemd.log_level=debug</varname> on the kernel command line.</para></listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><constant>SIGRTMIN+23</constant></term>
- <listitem><para>Sets the log level to <literal>debug</literal>
- (or <literal>info</literal> on
- <constant>SIGRTMIN+23</constant>), as controlled via
- <varname>systemd.log_level=debug</varname> (or
- <varname>systemd.log_level=info</varname> on
- <constant>SIGRTMIN+23</constant>) on the kernel command
- line.</para></listitem>
+ <listitem><para>Restores the log level to its configured value. The configured value is derived from – in order
+ of priority – the value specified with <varname>systemd.log-level=</varname> on the kernel command line, or the
+ value specified with <option>LogLevel=</option> in the configuration file, or the built-in default of
+ <literal>info</literal>.</para></listitem>
</varlistentry>
<varlistentry>