dbus: show messages in debug log
authorJouni Malinen <j@w1.fi>
Sat, 26 Dec 2009 12:14:31 +0000 (14:14 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 26 Dec 2009 12:14:31 +0000 (14:14 +0200)
wpa_supplicant/dbus/dbus_new_helpers.c

index d57e549..99552cb 100644 (file)
@@ -1030,6 +1030,8 @@ static DBusHandlerResult message_handler(DBusConnection *connection,
        msg_interface = dbus_message_get_interface(message);
        if (!method || !path || !msg_interface)
                goto out;
+       wpa_printf(MSG_MSGDUMP, "dbus: %s.%s (%s)",
+                  msg_interface, method, path);
 
        /* if message is introspection method call */
        if (!os_strncmp(WPA_DBUS_INTROSPECTION_METHOD, method,