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).
This commit is contained in:
@@ -40,7 +40,7 @@ _systemd_analyze() {
|
||||
)
|
||||
|
||||
local -A VERBS=(
|
||||
[STANDALONE]='time blame plot dump'
|
||||
[STANDALONE]='time blame plot dump get-log-level get-log-target'
|
||||
[CRITICAL_CHAIN]='critical-chain'
|
||||
[DOT]='dot'
|
||||
[LOG_LEVEL]='set-log-level'
|
||||
|
||||
Reference in New Issue
Block a user