man: mention new OPTIONS=log_level= udev rule
This commit is contained in:
parent
1a0bd01529
commit
563a94d080
18
man/udev.xml
18
man/udev.xml
|
@ -647,6 +647,24 @@
|
||||||
on the transition from initramfs.</para>
|
on the transition from initramfs.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</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>
|
</variablelist>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
Loading…
Reference in New Issue