diff --git a/services/distributeddataservice/app/src/kvstore_data_service.cpp b/services/distributeddataservice/app/src/kvstore_data_service.cpp index b598a653a38e6094d5def17c8f1388246dc9b805..bc8ba2f85caa7ec23d6c921b2c640ec150b9b25a 100644 --- a/services/distributeddataservice/app/src/kvstore_data_service.cpp +++ b/services/distributeddataservice/app/src/kvstore_data_service.cpp @@ -271,7 +271,6 @@ int32_t KvStoreDataService::Exit(const std::string &featureName) } Status KvStoreDataService::AppExit(pid_t uid, pid_t pid, uint32_t token, const AppId &appId) { - ZLOGI("AppExit"); // memory of parameter appId locates in a member of clientDeathObserverMap_ and will be freed after // clientDeathObserverMap_ erase, so we have to take a copy if we want to use this parameter after erase operation. AppId appIdTmp = appId; @@ -780,7 +779,6 @@ KvStoreDataService::KvStoreClientDeathObserverImpl::KvStoreClientDeathObserverIm pid_ = IPCSkeleton::GetCallingPid(); token_ = IPCSkeleton::GetCallingTokenID(); if (observer != nullptr) { - ZLOGI("add death recipient"); observer->AddDeathRecipient(deathRecipient_); observerProxy_.insert_or_assign(featureName, std::move(observer)); } else { @@ -814,9 +812,7 @@ KvStoreDataService::KvStoreClientDeathObserverImpl &KvStoreDataService::KvStoreC KvStoreDataService::KvStoreClientDeathObserverImpl::~KvStoreClientDeathObserverImpl() { - ZLOGI("~KvStoreClientDeathObserverImpl"); if (deathRecipient_ != nullptr && !observerProxy_.empty()) { - ZLOGI("remove death recipient"); for (auto &[key, value] : observerProxy_) { if (value != nullptr) { value->RemoveDeathRecipient(deathRecipient_); @@ -885,7 +881,7 @@ KvStoreDataService::KvStoreClientDeathObserverImpl::KvStoreDeathRecipient::KvSto KvStoreClientDeathObserverImpl &kvStoreClientDeathObserverImpl) : kvStoreClientDeathObserverImpl_(kvStoreClientDeathObserverImpl) { - ZLOGI("KvStore Client Death Observer"); + ZLOGD("KvStore Client Death Observer"); } KvStoreDataService::KvStoreClientDeathObserverImpl::KvStoreDeathRecipient::~KvStoreDeathRecipient() @@ -897,7 +893,6 @@ void KvStoreDataService::KvStoreClientDeathObserverImpl::KvStoreDeathRecipient:: const wptr &remote) { (void) remote; - ZLOGI("begin"); if (!clientDead_.exchange(true)) { kvStoreClientDeathObserverImpl_.NotifyClientDie(); }