summaryrefslogtreecommitdiff
path: root/introspection
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2015-10-07 10:45:28 +0200
committerThomas Haller <thaller@redhat.com>2015-10-09 14:55:00 +0200
commitfd87ce503c7927ba552b381b5c2d4b32fccb48dd (patch)
treee2a3390bf6034b5c01d26c84a8c42b7334a5205e /introspection
parentcc6b07c43974bc83b2bc17dce5bbe5934149fb58 (diff)
logging: add special logging level "KEEP"
Without this, the user cannot configure only certain logging domains without touching them all. E.g. # nmcli general logging level DEBUG domains PLATFORM will disable all non-PLATFORM domains. Well, the user can do: # nmcli general logging level INFO domains PLATFORM:DEBUG # nmcli general logging level DEBUG domains ALL:INFO,PLATFORM but in this case all non-PLATFORM domains are reset explicitly. Now the user can: # nmcli general logging level KEEP domains PLATFORM:DEBUG # nmcli general logging level DEBUG domains ALL:KEEP,PLATFORM which will only change the platform domain.
Diffstat (limited to 'introspection')
-rw-r--r--introspection/nm-manager.xml8
1 files changed, 7 insertions, 1 deletions
diff --git a/introspection/nm-manager.xml b/introspection/nm-manager.xml
index 88f477d62f..36cbee3011 100644
--- a/introspection/nm-manager.xml
+++ b/introspection/nm-manager.xml
@@ -184,7 +184,13 @@
</tp:docstring>
<arg name="level" type="s" direction="in">
<tp:docstring>
- One of [ERR, WARN, INFO, DEBUG, TRACE].
+ One of [ERR, WARN, INFO, DEBUG, TRACE, OFF, KEEP].
+ This level is applied to the domains as specified in the domains
+ argument. Except for the special level "KEEP", all unmentioned
+ domains are disabled entirely. "KEEP" is special and allows
+ not to change the current setting except for the specified
+ domains. E.g. level=KEEP and domains=PLATFORM:DEBUG will only
+ touch the platform domain.
</tp:docstring>
</arg>
<arg name="domains" type="s" direction="in">