From c0fcc614131af95326d182457fd6d8aefa78c997 Mon Sep 17 00:00:00 2001 From: zjucx Date: Thu, 26 May 2022 12:02:29 +0800 Subject: [PATCH] fix log problem Signed-off-by: zjucx --- services/core/src/subscribemanager/profile_change_handler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/core/src/subscribemanager/profile_change_handler.cpp b/services/core/src/subscribemanager/profile_change_handler.cpp index f399dab..9f96c15 100755 --- a/services/core/src/subscribemanager/profile_change_handler.cpp +++ b/services/core/src/subscribemanager/profile_change_handler.cpp @@ -147,7 +147,7 @@ void ProfileChangeHandler::ConvertEntry(const std::vector& entries, static_cast(changeType)); service2Index.emplace(trimmedKey, profileEntries.size()); profileEntries.emplace_back(std::move(trimmedKey), entry.value.ToString(), changeType); - HILOGD("key = %{public}s, value = %{public}s, state = %{public}u", profileKey->serviceId.c_str(), + HILOGD("value = %{public}s, state = %{public}u", entry.value.ToString().c_str(), static_cast(changeType)); } }