mirror of
https://github.com/systemd/systemd.git
synced 2025-03-28 02:50:16 +03:00
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>
|
||||
</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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user