summaryrefslogtreecommitdiff
path: root/man/systemd-analyze.xml
diff options
context:
space:
mode:
authorLucas Werkmeister <mail@lucaswerkmeister.de>2017-09-07 23:41:20 +0200
committerLucas Werkmeister <mail@lucaswerkmeister.de>2017-09-07 23:55:59 +0200
commitef5a8cb1a7e4529b2b69c4d5a3dcd34e30534f54 (patch)
tree98802349796c90b6ca448aca19a1846ef99c3b22 /man/systemd-analyze.xml
parent4146ac2a4cba70d2536465bb9b7e99b09558f153 (diff)
downloadsystemd-ef5a8cb1a7e4529b2b69c4d5a3dcd34e30534f54.tar.gz
analyze: add get-log-level, get-log-target verbs
They’re counterparts to the existing set-log-level and set-log-target verbs, simply printing the current value to stdout. This makes it slightly easier to temporarily change the log level and/or target and then restore the old value(s).
Diffstat (limited to 'man/systemd-analyze.xml')
-rw-r--r--man/systemd-analyze.xml16
1 files changed, 16 insertions, 0 deletions
diff --git a/man/systemd-analyze.xml b/man/systemd-analyze.xml
index 91edbfb3b5..a3a3ce0e54 100644
--- a/man/systemd-analyze.xml
+++ b/man/systemd-analyze.xml
@@ -104,6 +104,16 @@
<cmdsynopsis>
<command>systemd-analyze</command>
<arg choice="opt" rep="repeat">OPTIONS</arg>
+ <arg choice="plain">get-log-level</arg>
+ </cmdsynopsis>
+ <cmdsynopsis>
+ <command>systemd-analyze</command>
+ <arg choice="opt" rep="repeat">OPTIONS</arg>
+ <arg choice="plain">get-log-target</arg>
+ </cmdsynopsis>
+ <cmdsynopsis>
+ <command>systemd-analyze</command>
+ <arg choice="opt" rep="repeat">OPTIONS</arg>
<arg choice="plain">syscall-filter</arg>
<arg choice="opt"><replaceable>SET</replaceable>…</arg>
</cmdsynopsis>
@@ -187,6 +197,12 @@
<option>--log-target=</option>, described in
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>).</para>
+ <para><command>systemd-analyze get-log-level</command>
+ prints the current log level of the <command>systemd</command> daemon.</para>
+
+ <para><command>systemd-analyze get-log-target</command>
+ prints the current log target of the <command>systemd</command> daemon.</para>
+
<para><command>systemd-analyze syscall-filter <optional><replaceable>SET</replaceable>…</optional></command>
will list system calls contained in the specified system call set <replaceable>SET</replaceable>,
or all known sets if no sets are specified. Argument <replaceable>SET</replaceable> must include