diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2020-12-08 23:11:03 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2020-12-10 12:33:34 +0900 |
commit | 563a94d0808566507714dfd053fa3f36bfc95e9a (patch) | |
tree | 1c13a5a4f2a186a48ea67c940727b25551cbceb6 /man | |
parent | 1a0bd01529d42bc4fed71d94c914b590b8c6ff7e (diff) | |
download | systemd-563a94d0808566507714dfd053fa3f36bfc95e9a.tar.gz |
man: mention new OPTIONS=log_level= udev rule
Diffstat (limited to 'man')
-rw-r--r-- | man/udev.xml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/man/udev.xml b/man/udev.xml index 14e4c21aae..c3168b0864 100644 --- a/man/udev.xml +++ b/man/udev.xml @@ -647,6 +647,24 @@ on the transition from initramfs.</para> </listitem> </varlistentry> + <varlistentry> + <term><option>log_level=<replaceable>level</replaceable></option></term> + <listitem> + <para>Takes a log level name like <literal>debug</literal> or + <literal>info</literal>, or a special value <literal>reset</literal>. When a log + level name is specified, the maximum log level is changed to that level. When + <literal>reset</literal> is set, then the previously specified log level is + revoked. Defaults to the log level of the main process of + <command>systemd-udevd</command>.</para> + <para>This may be useful when debugging events for certain devices. Note that the + log level is applied when the line including this rule is processed. So, for + debugging, it is recommended that this is specified at earlier place, e.g., the + first line of <filename>00-debug.rules</filename>.</para> + <para>Example for debugging uevent processing for network interfaces. + <programlisting># /etc/udev/rules.d/00-debug-net.rules +SUBSYSTEM=="net", OPTIONS="log_level=debug"</programlisting></para> + </listitem> + </varlistentry> </variablelist> </listitem> </varlistentry> |