Add debug logs 65/243065/1 submit/tizen/20200903.100909
authorSeonah Moon <seonah1.moon@samsung.com>
Thu, 3 Sep 2020 01:29:57 +0000 (10:29 +0900)
committerSeonah Moon <seonah1.moon@samsung.com>
Thu, 3 Sep 2020 01:30:04 +0000 (10:30 +0900)
Change-Id: Icb4b5375042d577bac10cf59c2923e6febf2afa0

src/dbus/netdbus.c
src/dbus/netsupplicant.c

index 4e06230..6faf5af 100755 (executable)
@@ -224,6 +224,9 @@ GVariant *netconfig_invoke_dbus_method(const char *dest, const char *path,
        GVariant *reply = NULL;
        GDBusConnection *connection;
 
+       if (g_strcmp0(method, "SignalPoll") != 0)
+               INFO("[DBUS Sync] %s %s %s", interface_name, method, path);
+
        connection = netdbus_get_connection();
        if (connection == NULL) {
                ERR("Failed to get GDBusconnection");
@@ -255,6 +258,9 @@ GVariant *netconfig_invoke_dbus_method(const char *dest, const char *path,
                return NULL;
        }
 
+       if (g_strcmp0(method, "SignalPoll") != 0)
+               INFO("[DBUS Sync] %s succeeded", method);
+
        return reply;
 }
 
index a6f59fd..265bc8b 100755 (executable)
@@ -116,6 +116,9 @@ GVariant *netconfig_supplicant_invoke_dbus_method(const char *dest, const char *
                return NULL;
        }
 
+       if (g_strcmp0(method, "GetInterface") != 0)
+               INFO("[DBUS Sync] %s succeeded", method);
+
        return reply;
 }