Add debug logs
[platform/core/connectivity/net-config.git] / src / dbus / netdbus.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;
 }