From 13e5b2dca438648a073478154b7e01b893dc8442 Mon Sep 17 00:00:00 2001 From: wangpggg Date: Thu, 25 Apr 2024 14:49:52 +0800 Subject: [PATCH] update log level Signed-off-by: wangpeng --- .../js/napi/file_access_module/native_fileaccess_module.cpp | 2 +- interfaces/kits/native/recent/module.cpp | 2 +- interfaces/kits/native/trash/module.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/frameworks/js/napi/file_access_module/native_fileaccess_module.cpp b/frameworks/js/napi/file_access_module/native_fileaccess_module.cpp index 9f581eff..bfc3fc80 100644 --- a/frameworks/js/napi/file_access_module/native_fileaccess_module.cpp +++ b/frameworks/js/napi/file_access_module/native_fileaccess_module.cpp @@ -58,7 +58,7 @@ static napi_value Init(napi_env env, napi_value exports) HILOG_ERROR("INNER BUG. Failed to export class %{public}s", product->GetClassName().c_str()); return nullptr; } else { - HILOG_ERROR("Class %{public}s has been exported", product->GetClassName().c_str()); + HILOG_DEBUG("Class %{public}s has been exported", product->GetClassName().c_str()); } } diff --git a/interfaces/kits/native/recent/module.cpp b/interfaces/kits/native/recent/module.cpp index caab0182..bc4fb3d7 100644 --- a/interfaces/kits/native/recent/module.cpp +++ b/interfaces/kits/native/recent/module.cpp @@ -34,7 +34,7 @@ static napi_value Export(napi_env env, napi_value exports) product->GetClassName().c_str()); return nullptr; } else { - HILOG_INFO("Class %{public}s for module fileio has been exported", product->GetClassName().c_str()); + HILOG_DEBUG("Class %{public}s for module fileio has been exported", product->GetClassName().c_str()); } } diff --git a/interfaces/kits/native/trash/module.cpp b/interfaces/kits/native/trash/module.cpp index c26c433c..0dd8395c 100644 --- a/interfaces/kits/native/trash/module.cpp +++ b/interfaces/kits/native/trash/module.cpp @@ -38,7 +38,7 @@ static napi_value Export(napi_env env, napi_value exports) HILOG_ERROR("INNER BUG. Failed to export class %{public}s for module trash", nExporterName.c_str()); return nullptr; } else { - HILOG_INFO("Class %{public}s for module trash has been exported", nExporterName.c_str()); + HILOG_DEBUG("Class %{public}s for module trash has been exported", nExporterName.c_str()); } } return exports; -- Gitee