diff --git a/frameworks/native/appkit/ability_runtime/app/js_ability_stage.cpp b/frameworks/native/appkit/ability_runtime/app/js_ability_stage.cpp index 9595593b5c..98955c2b7e 100644 --- a/frameworks/native/appkit/ability_runtime/app/js_ability_stage.cpp +++ b/frameworks/native/appkit/ability_runtime/app/js_ability_stage.cpp @@ -402,7 +402,7 @@ bool JsAbilityStage::CallOnPrepareTerminateAsync(napi_env env, std::string JsAbilityStage::OnAcceptWant(const AAFwk::Want &want, AppExecFwk::AbilityTransactionCallbackInfo *callbackInfo, bool &isAsync) { - TAG_LOGD(AAFwkTag::APPKIT, "OnAcceptWant called"); + TAG_LOGI(AAFwkTag::APPKIT, "OnAcceptWant called"); AbilityStage::OnAcceptWant(want, callbackInfo, isAsync); HandleScope handleScope(jsRuntime_); diff --git a/services/abilitymgr/src/app_exit_reason_data_manager.cpp b/services/abilitymgr/src/app_exit_reason_data_manager.cpp index afac5f9585..2f7ecb3b7a 100644 --- a/services/abilitymgr/src/app_exit_reason_data_manager.cpp +++ b/services/abilitymgr/src/app_exit_reason_data_manager.cpp @@ -112,7 +112,6 @@ int32_t AppExitReasonDataManager::SetAppExitReason(const std::string &bundleName TAG_LOGW(AAFwkTag::ABILITYMGR, "invalid value"); return ERR_INVALID_VALUE; } - TAG_LOGD(AAFwkTag::ABILITYMGR, "bundleName: %{public}s, tokenId: %{private}u", bundleName.c_str(), accessTokenId); std::string keyStr = std::to_string(accessTokenId); { std::lock_guard lock(kvStorePtrMutex_); @@ -125,7 +124,7 @@ int32_t AppExitReasonDataManager::SetAppExitReason(const std::string &bundleName DistributedKv::Key key(keyStr); DistributedKv::Value value = ConvertAppExitReasonInfoToValue(abilityList, exitReason, processInfo, withKillMsg); PutAsync(key, value); - TAG_LOGI(AAFwkTag::ABILITYMGR, "set reason info: %{public}s", value.ToString().c_str()); + TAG_LOGI(AAFwkTag::ABILITYMGR, "bundleName: %{public}s, tokenId: %{private}u", bundleName.c_str(), accessTokenId); return ERR_OK; } @@ -294,7 +293,6 @@ int32_t AppExitReasonDataManager::RecordSignalReason(int32_t pid, int32_t uid, i return 0; } } - TAG_LOGI(AAFwkTag::ABILITYMGR, "key: %{public}s", std::to_string(accessTokenId).c_str()); ret = SetAppExitReason(cacheInfo.bundleName, accessTokenId, cacheInfo.abilityNames, exitReason, cacheInfo.exitInfo, false); if (ret != 0) {