summaryrefslogtreecommitdiff
path: root/introspection
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2010-04-08 08:56:17 -0700
committerDan Williams <dcbw@redhat.com>2010-04-08 08:56:17 -0700
commit02002ef9d15ead885eccc46c278e6aa11a778f87 (patch)
treebea9b77ba31b951627fd78ce1b1ae019b06b86a3 /introspection
parent7fa8f29aaf8767631fb546e4fa3731e4a1a71586 (diff)
logging: add D-Bus method to change logging
Diffstat (limited to 'introspection')
-rw-r--r--introspection/nm-manager.xml22
1 files changed, 22 insertions, 0 deletions
diff --git a/introspection/nm-manager.xml b/introspection/nm-manager.xml
index 8303f4d469..406b5cfd1e 100644
--- a/introspection/nm-manager.xml
+++ b/introspection/nm-manager.xml
@@ -96,6 +96,28 @@
</arg>
</method>
+ <method name="SetLogging">
+ <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_manager_set_logging"/>
+ <tp:docstring>
+ Set logging verbosity and which operations are logged.
+ </tp:docstring>
+ <arg name="level" type="s" direction="in">
+ <tp:docstring>
+ One of [ERR, WARN, INFO, DEBUG].
+ </tp:docstring>
+ </arg>
+ <arg name="domains" type="s" direction="in">
+ <tp:docstring>
+ A combination of logging domains separated by commas (','), or "NONE"
+ to disable logging. Each domain enables logging for operations
+ related to that domain. Available domains are: [NONE, HW, RKILL,
+ ETHER, WIFI, BT, MB, DHCP4, DHCP6, PPP, WIFI_SCAN, IP4, IP6, AUTOIP4,
+ DNS, VPN, SHARING, SUPPLICANT, USER_SET, SYS_SET, SUSPEND, CORE,
+ DEVICE, OLPC]
+ </tp:docstring>
+ </arg>
+ </method>
+
<property name="WirelessEnabled" type="b" access="readwrite">
<tp:docstring>
Indicates if wireless is currently enabled or not.