From 6e3548f9550ac62da51c1a3f5081cd8078c271cc Mon Sep 17 00:00:00 2001 From: Jaehyun Kim Date: Thu, 21 Nov 2024 16:19:07 +0900 Subject: [PATCH] Add logs to track the init process Change-Id: I68888d6d44e42d5f1e5b1b6322d6912b51798886 Signed-off-by: Jaehyun Kim --- src/internal/stc-dbus.c | 3 +++ src/internal/stc-signal.c | 3 +++ 2 files changed, 6 insertions(+) diff --git a/src/internal/stc-dbus.c b/src/internal/stc-dbus.c index 4f4cee6..736b962 100755 --- a/src/internal/stc-dbus.c +++ b/src/internal/stc-dbus.c @@ -78,7 +78,10 @@ int _stc_dbus_create(stc_h stc) return STC_ERROR_OPERATION_FAILED; //LCOV_EXCL_LINE } + STC_LOGI("Connected to the D-BUS daemon [%p]", stc_handle->dbus_connection.connection); + stc_handle->dbus_connection.cancellable = g_cancellable_new(); + STC_LOGI("Cancellable object [%p]", stc_handle->dbus_connection.cancellable); return STC_ERROR_NONE; } diff --git a/src/internal/stc-signal.c b/src/internal/stc-signal.c index e99e037..f4328ad 100755 --- a/src/internal/stc-signal.c +++ b/src/internal/stc-signal.c @@ -188,6 +188,9 @@ int _stc_register_signal(stc_h stc) return STC_ERROR_NOT_INITIALIZED; //LCOV_EXCL_LINE } + STC_LOGI("Registered signals stats[%d] restriction[%d]", + stc_handle->stats_subscribe_id, stc_handle->restriction_subscribe_id); + return STC_ERROR_NONE; } -- 2.34.1