mirror of
https://github.com/systemd/systemd.git
synced 2025-08-03 08:22:21 +03:00
udevadm-control: allow to enable/disable trace logging in systemd-udevd
Should be useful for debugging udev rules.
This commit is contained in:
@ -66,7 +66,7 @@ _udevadm() {
|
||||
[SETTLE]='-t --timeout -E --exit-if-exists'
|
||||
[CONTROL_STANDALONE]='-e --exit -s --stop-exec-queue -S --start-exec-queue -R --reload --ping
|
||||
--load-credentials'
|
||||
[CONTROL_ARG]='-l --log-priority -p --property -m --children-max -t --timeout'
|
||||
[CONTROL_ARG]='-l --log-priority -p --property -m --children-max -t --timeout --trace'
|
||||
[MONITOR_STANDALONE]='-k --kernel -u --udev -p --property'
|
||||
[MONITOR_ARG]='-s --subsystem-match -t --tag-match'
|
||||
[TEST_STANDALONE]='-v --verbose'
|
||||
@ -191,6 +191,9 @@ _udevadm() {
|
||||
-l|--log-priority)
|
||||
comps='alert crit debug emerg err info notice warning'
|
||||
;;
|
||||
--trace)
|
||||
comps='yes no'
|
||||
;;
|
||||
*)
|
||||
comps=''
|
||||
;;
|
||||
|
Reference in New Issue
Block a user