diff --git a/interfaces/inner_api/appexecfwk_core/src/bundlemgr/bundle_mgr_proxy.cpp b/interfaces/inner_api/appexecfwk_core/src/bundlemgr/bundle_mgr_proxy.cpp index f973df156964dd0d4ef2b69a78d8b135ecbb5c75..8ffbd80bc74d37382e96b8c0ec28c858eab80292 100644 --- a/interfaces/inner_api/appexecfwk_core/src/bundlemgr/bundle_mgr_proxy.cpp +++ b/interfaces/inner_api/appexecfwk_core/src/bundlemgr/bundle_mgr_proxy.cpp @@ -546,7 +546,7 @@ ErrCode BundleMgrProxy::GetBundleInfoForSelfWithOutCache(int32_t flags, BundleIn auto res = GetParcelableInfoWithErrCode( BundleMgrInterfaceCode::GET_BUNDLE_INFO_FOR_SELF, data, bundleInfo); if (res != ERR_OK) { - LOG_NOFUNC_E(BMS_TAG_QUERY, "GetBundleInfoForSelfWithOutCache failed err:%{public}d", res); + LOG_D(BMS_TAG_QUERY, "GetBundleInfoForSelfWithOutCache failed err:%{public}d", res); return res; } return ERR_OK; @@ -5450,7 +5450,7 @@ ErrCode BundleMgrProxy::CanOpenLink( } ErrCode res = reply.ReadInt32(); if (res != ERR_OK) { - APP_LOGE("host reply err: %{public}d", res); + APP_LOGD("host reply err: %{public}d", res); return res; } canOpen = reply.ReadBool(); diff --git a/interfaces/kits/cj/src/bundle_manager.cpp b/interfaces/kits/cj/src/bundle_manager.cpp index 7f81c0b37ec6753c3795e8e1dd478b927e860da5..509de4600231dece6f656059c3ca01bbf0ae416f 100644 --- a/interfaces/kits/cj/src/bundle_manager.cpp +++ b/interfaces/kits/cj/src/bundle_manager.cpp @@ -226,7 +226,7 @@ bool BundleManagerImpl::InnerCanOpenLink(std::string link, int32_t& code) code = AppExecFwk::CommonFunc::ConvertErrCode( iBundleMgr->CanOpenLink(link, canOpen)); if (code != NO_ERROR) { - APP_LOGE("CanOpenLink failed"); + APP_LOGD("CanOpenLink failed"); return canOpen; } return canOpen; diff --git a/services/bundlemgr/src/bundle_data_mgr.cpp b/services/bundlemgr/src/bundle_data_mgr.cpp index 3018b073110524839ac11044ea3e649d31165a74..3ca17768a5c789fc6acd5e880e03b5c1e97a4878 100644 --- a/services/bundlemgr/src/bundle_data_mgr.cpp +++ b/services/bundlemgr/src/bundle_data_mgr.cpp @@ -9356,7 +9356,7 @@ void BundleDataMgr::SetEl5DirPolicy(const CreateDirParam &el5Param, InnerBundleI ErrCode BundleDataMgr::CanOpenLink( const std::string &link, bool &canOpen) const { - APP_LOGI("link: %{public}s", link.c_str()); + APP_LOGD("link: %{public}s", link.c_str()); auto uid = IPCSkeleton::GetCallingUid(); InnerBundleInfo innerBundleInfo; if (GetInnerBundleInfoByUid(uid, innerBundleInfo) != ERR_OK) { @@ -9371,7 +9371,7 @@ ErrCode BundleDataMgr::CanOpenLink( size_t pos = link.find(SCHEME_END); if (pos == std::string::npos) { - APP_LOGE("parse link : %{public}s failed", link.c_str()); + APP_LOGD("parse link : %{public}s failed", link.c_str()); return ERR_BUNDLE_MANAGER_INVALID_SCHEME; } std::string scheme = link.substr(0, pos); @@ -9393,7 +9393,7 @@ ErrCode BundleDataMgr::CanOpenLink( } canOpen = !abilityInfos.empty(); - APP_LOGI("canOpen : %{public}d", canOpen); + APP_LOGI_NOFUNC("link:%{public}s canOpen:%{public}d", link.c_str(), canOpen); return ERR_OK; } diff --git a/services/bundlemgr/src/bundle_mgr_host_impl.cpp b/services/bundlemgr/src/bundle_mgr_host_impl.cpp index f841ca40e80f5da75840b24ebffb7ed95d6b32fc..2f6a266639548f3c23ed1cb62435ca8eb0b5d857 100644 --- a/services/bundlemgr/src/bundle_mgr_host_impl.cpp +++ b/services/bundlemgr/src/bundle_mgr_host_impl.cpp @@ -3285,7 +3285,7 @@ bool BundleMgrHostImpl::VerifyCallingPermission(const std::string &permission) bool BundleMgrHostImpl::QueryExtensionAbilityInfoByUri(const std::string &uri, int32_t userId, ExtensionAbilityInfo &extensionAbilityInfo) { - LOG_I(BMS_TAG_QUERY, "uri:%{private}s -u %{public}d", uri.c_str(), userId); + LOG_D(BMS_TAG_QUERY, "uri:%{private}s -u %{public}d", uri.c_str(), userId); // API9 need to be system app, otherwise return empty data if (!BundlePermissionMgr::IsSystemApp() && !BundlePermissionMgr::VerifyCallingBundleSdkVersion(ServiceConstants::API_VERSION_NINE)) {