diff --git a/frameworks/js/napi/app/js_app_manager/js_app_manager.cpp b/frameworks/js/napi/app/js_app_manager/js_app_manager.cpp index c7e7a79d8edf862c340d13305bbf0973a1d20d1d..e49d958fa1dedc1df2251dbc73965eb1d6c2985f 100644 --- a/frameworks/js/napi/app/js_app_manager/js_app_manager.cpp +++ b/frameworks/js/napi/app/js_app_manager/js_app_manager.cpp @@ -1194,7 +1194,7 @@ private: return; } int32_t memorySize = abilityManager->GetAppMemorySize(); - TAG_LOGI(AAFwkTag::APPMGR, "memorySize:%{public}d", memorySize); + TAG_LOGD(AAFwkTag::APPMGR, "memorySize:%{public}d", memorySize); task->ResolveWithNoError(env, CreateJsValue(env, memorySize)); delete task; }; diff --git a/interfaces/inner_api/app_manager/src/appmgr/app_mgr_client.cpp b/interfaces/inner_api/app_manager/src/appmgr/app_mgr_client.cpp index 198b4ff2ecb95489471d526ecda2cb2a9f8b0576..bd2899945ef36454e9429247625260b59617db2d 100644 --- a/interfaces/inner_api/app_manager/src/appmgr/app_mgr_client.cpp +++ b/interfaces/inner_api/app_manager/src/appmgr/app_mgr_client.cpp @@ -1437,7 +1437,7 @@ int32_t AppMgrClient::PreloadApplication(const std::string &bundleName, int32_t int32_t AppMgrClient::SetSupportedProcessCacheSelf(bool isSupport) { - TAG_LOGI(AAFwkTag::APPMGR, "Called"); + TAG_LOGD(AAFwkTag::APPMGR, "Called"); sptr service = iface_cast(mgrHolder_->GetRemoteObject()); if (service == nullptr) { TAG_LOGE(AAFwkTag::APPMGR, "Service is nullptr."); @@ -1448,7 +1448,7 @@ int32_t AppMgrClient::SetSupportedProcessCacheSelf(bool isSupport) int32_t AppMgrClient::SetSupportedProcessCache(int32_t pid, bool isSupport) { - TAG_LOGI(AAFwkTag::APPMGR, "Called"); + TAG_LOGD(AAFwkTag::APPMGR, "Called"); sptr service = iface_cast(mgrHolder_->GetRemoteObject()); if (service == nullptr) { TAG_LOGE(AAFwkTag::APPMGR, "Service is nullptr."); diff --git a/interfaces/inner_api/app_manager/src/appmgr/app_scheduler_host.cpp b/interfaces/inner_api/app_manager/src/appmgr/app_scheduler_host.cpp index 78d986e17ca11671082ee055a60f04fdde24ec80..fbff8d8f992a7f7e0521fb56a4616d992c125251 100644 --- a/interfaces/inner_api/app_manager/src/appmgr/app_scheduler_host.cpp +++ b/interfaces/inner_api/app_manager/src/appmgr/app_scheduler_host.cpp @@ -32,7 +32,7 @@ void AppSchedulerHost::InitMemberFuncMap() {} AppSchedulerHost::~AppSchedulerHost() { - TAG_LOGI(AAFwkTag::APPMGR, "AppSchedulerHost destruction"); + TAG_LOGD(AAFwkTag::APPMGR, "AppSchedulerHost destruction"); } int AppSchedulerHost::OnRemoteRequest(uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) diff --git a/services/abilitymgr/src/ability_manager_client.cpp b/services/abilitymgr/src/ability_manager_client.cpp index e4149b294d189bc161089b437af22d1e793e1e44..bc5b52dd421fe83cdada35147a74a6580842c171 100644 --- a/services/abilitymgr/src/ability_manager_client.cpp +++ b/services/abilitymgr/src/ability_manager_client.cpp @@ -1600,7 +1600,7 @@ AppExecFwk::ElementName AbilityManagerClient::GetTopAbility(bool isNeedLocalDevi TAG_LOGE(AAFwkTag::ABILITYMGR, "get sceneSessionManager failed"); return elementName; } - TAG_LOGI(AAFwkTag::ABILITYMGR, "call GetTopAbility"); + TAG_LOGI(AAFwkTag::ABILITYMGR, "GetTopAbility"); (void)sceneSessionManager->GetFocusSessionElement(elementName); return elementName; } @@ -1648,7 +1648,7 @@ ErrCode AbilityManagerClient::AddFreeInstallObserver(const sptr c int32_t AbilityManagerClient::IsValidMissionIds( const std::vector &missionIds, std::vector &results) { - TAG_LOGI(AAFwkTag::ABILITYMGR, "call"); + TAG_LOGD(AAFwkTag::ABILITYMGR, "call"); #ifdef SUPPORT_SCREEN if (Rosen::SceneBoardJudgement::IsSceneBoardEnabled()) { auto sceneSessionManager = SessionManagerLite::GetInstance().GetSceneSessionManagerLiteProxy(); diff --git a/services/appmgr/src/app_mgr_service.cpp b/services/appmgr/src/app_mgr_service.cpp index 1b907c9f6016724cefdee598cf5bbae9421285d7..e63d18761b719ecf446787a7896be45f5c31c04d 100644 --- a/services/appmgr/src/app_mgr_service.cpp +++ b/services/appmgr/src/app_mgr_service.cpp @@ -1668,7 +1668,7 @@ int32_t AppMgrService::NotifyMemorySizeStateChanged(int32_t memorySizeState) int32_t AppMgrService::SetSupportedProcessCacheSelf(bool isSupport) { - TAG_LOGI(AAFwkTag::APPMGR, "call"); + TAG_LOGD(AAFwkTag::APPMGR, "call"); if (!IsReady()) { TAG_LOGE(AAFwkTag::APPMGR, "not ready"); return ERR_INVALID_OPERATION; @@ -1678,7 +1678,7 @@ int32_t AppMgrService::SetSupportedProcessCacheSelf(bool isSupport) int32_t AppMgrService::SetSupportedProcessCache(int32_t pid, bool isSupport) { - TAG_LOGI(AAFwkTag::APPMGR, "Called"); + TAG_LOGD(AAFwkTag::APPMGR, "Called"); if (!IsReady()) { TAG_LOGE(AAFwkTag::APPMGR, "Not ready."); return ERR_INVALID_OPERATION; diff --git a/services/appmgr/src/app_mgr_service_inner.cpp b/services/appmgr/src/app_mgr_service_inner.cpp index a74eedb2e59af5a6d0aded13290caa3d88104c3b..749fc44327f404e3e0c30a94cda22be561058620 100644 --- a/services/appmgr/src/app_mgr_service_inner.cpp +++ b/services/appmgr/src/app_mgr_service_inner.cpp @@ -8204,7 +8204,7 @@ bool AppMgrServiceInner::IsAttachDebug(const std::string &bundleName) TAG_LOGD(AAFwkTag::APPMGR, "called"); auto isSaCall = AAFwk::PermissionVerification::GetInstance()->IsSACall(); if (!isSaCall) { - TAG_LOGE(AAFwkTag::APPMGR, "caller token not SA"); + TAG_LOGW(AAFwkTag::APPMGR, "caller token not SA"); return false; } if (appRunningManager_ == nullptr || bundleName.empty()) { @@ -9465,7 +9465,7 @@ bool AppMgrServiceInner::GetKeepAliveState(const std::shared_ptr &sharedBundles) { - TAG_LOGI(AAFwkTag::APPMGR, "QueryRunningSharedBundles call, pid:%{public}d", pid); + TAG_LOGD(AAFwkTag::APPMGR, "QueryRunningSharedBundles call, pid:%{public}d", pid); HITRACE_METER_NAME(HITRACE_TAG_ABILITY_MANAGER, __PRETTY_FUNCTION__); auto appRecord = GetAppRunningRecordByPid(pid); if (!appRecord) { diff --git a/services/appmgr/src/app_running_manager.cpp b/services/appmgr/src/app_running_manager.cpp index 7f777379a68898562cb9d4a6ba0952e43761d4c6..707f4b13fa524ee9dd6281d5ff8b05786f0f9378 100644 --- a/services/appmgr/src/app_running_manager.cpp +++ b/services/appmgr/src/app_running_manager.cpp @@ -704,10 +704,10 @@ std::shared_ptr AppRunningManager::OnRemoteDied(const wptrRemoveAppDeathRecipient(); appRecord->SetApplicationClient(nullptr); - TAG_LOGI(AAFwkTag::APPMGR, "pname: %{public}s", appRecord->GetProcessName().c_str()); auto priorityObject = appRecord->GetPriorityObject(); if (priorityObject != nullptr) { - TAG_LOGI(AAFwkTag::APPMGR, "pid: %{public}d", priorityObject->GetPid()); + TAG_LOGI(AAFwkTag::APPMGR, "pname: %{public}s, pid: %{public}d", appRecord->GetProcessName().c_str(), + priorityObject->GetPid()); if (appMgrServiceInner != nullptr) { appMgrServiceInner->KillProcessByPid(priorityObject->GetPid(), "OnRemoteDied"); } @@ -1796,7 +1796,7 @@ void AppRunningManager::HandleChildRelation( std::shared_ptr AppRunningManager::OnChildProcessRemoteDied(const wptr &remote) { - TAG_LOGE(AAFwkTag::APPMGR, "On child process remote died"); + TAG_LOGD(AAFwkTag::APPMGR, "On child process remote died"); if (remote == nullptr) { TAG_LOGE(AAFwkTag::APPMGR, "null remote"); return nullptr; diff --git a/services/appmgr/src/app_running_record.cpp b/services/appmgr/src/app_running_record.cpp index 879ff44ca74720d5a3a08165799b165000a8b27d..0ef699dad01f64c724a98f5c5602841504249a58 100644 --- a/services/appmgr/src/app_running_record.cpp +++ b/services/appmgr/src/app_running_record.cpp @@ -1248,7 +1248,6 @@ void AppRunningRecord::SendEvent(uint32_t msg, int64_t timeOut) appEventId_++; auto param = appEventId_; - TAG_LOGI(AAFwkTag::APPMGR, "eventId %{public}d", static_cast(param)); eventHandler_->SendEvent(AAFwk::EventWrap(msg, param), timeOut, false); AppEventUtil::GetInstance().AddEvent(shared_from_this(), msg, param); } diff --git a/services/appmgr/src/app_spawn_client.cpp b/services/appmgr/src/app_spawn_client.cpp index 09d7a6f1eaf3a2e72fe50f04905bec585e1ee688..4de6d111a12558837b184d73191732760c1497f5 100644 --- a/services/appmgr/src/app_spawn_client.cpp +++ b/services/appmgr/src/app_spawn_client.cpp @@ -666,7 +666,7 @@ int32_t AppSpawnClient::SendAppSpawnUninstallDebugHapMsg(int32_t userId) int32_t AppSpawnClient::GetRenderProcessTerminationStatus(const AppSpawnStartMsg &startMsg, int &status) { - TAG_LOGI(AAFwkTag::APPMGR, "call"); + TAG_LOGD(AAFwkTag::APPMGR, "call"); int32_t ret = 0; AppSpawnReqMsgHandle reqHandle = nullptr; @@ -686,7 +686,7 @@ int32_t AppSpawnClient::GetRenderProcessTerminationStatus(const AppSpawnStartMsg return ret; } - TAG_LOGI(AAFwkTag::APPMGR, "AppspawnSendMsg"); + TAG_LOGD(AAFwkTag::APPMGR, "AppspawnSendMsg"); AppSpawnResult result = {0}; ret = AppSpawnClientSendMsg(handle_, reqHandle, &result); status = result.result;