From: Jaehyun Kim Date: Thu, 21 Nov 2024 07:19:07 +0000 (+0900) Subject: Add logs to track the init process X-Git-Tag: accepted/tizen/unified/20241122.171527^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Ftizen;p=platform%2Fcore%2Fapi%2Fsmart-traffic-control.git Add logs to track the init process Change-Id: I68888d6d44e42d5f1e5b1b6322d6912b51798886 Signed-off-by: Jaehyun Kim --- 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; }