summaryrefslogtreecommitdiff
path: root/man/systemd.xml
diff options
context:
space:
mode:
authorFranck Bui <fbui@suse.com>2018-05-30 17:57:23 +0200
committerLennart Poettering <lennart@poettering.net>2018-06-13 18:52:27 +0200
commita6ecbf836c1e70cdf05a1ad6b78c86c5aef4dca3 (patch)
tree291745679323a6cf89cd4f4045d62aae8688394b /man/systemd.xml
parent6f8a8b84f28be7a6133bbde1479dee9abad6cee8 (diff)
downloadsystemd-a6ecbf836c1e70cdf05a1ad6b78c86c5aef4dca3.tar.gz
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/systemd.xml')
-rw-r--r--man/systemd.xml17
1 files changed, 10 insertions, 7 deletions
diff --git a/man/systemd.xml b/man/systemd.xml
index b409ba7c01..3e3e8678bc 100644
--- a/man/systemd.xml
+++ b/man/systemd.xml
@@ -749,15 +749,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>