From 33e5df7b1a6d5379a500df5e97883323a44b4f9e Mon Sep 17 00:00:00 2001 From: zhanjun Date: Tue, 18 Nov 2025 15:24:59 +0800 Subject: [PATCH] add debug info --- common/acl.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/common/acl.cpp b/common/acl.cpp index 1096fb1b..54a6322d 100755 --- a/common/acl.cpp +++ b/common/acl.cpp @@ -774,22 +774,27 @@ const char *aclGetRecentErrMsg() } const std::string aclHostErrMsg = ErrorManager::GetInstance().GetErrorMessage(); + ACL_LOG_INFO("DEBUG_ZJ aclGetRecentErrMsg, aclHostErrMsg is [%s], aclRecentErrMsg is [%s].", + aclHostErrMsg.c_str(), aclRecentErrMsg.c_str()); if ((aclHostErrMsg.empty()) && (aclRecentErrMsg.empty())) { - ACL_LOG_DEBUG("get errorMessage is empty"); + ACL_LOG_INFO("get errorMessage is empty"); return nullptr; } if (aclHostErrMsg.empty()) { + ACL_LOG_INFO("DEBUG_ZJ get aclHostErrMsg is empty"); return aclRecentErrMsg.c_str(); } if (aclRecentErrMsg.empty()) { + ACL_LOG_INFO("DEBUG_ZJ get aclRecentErrMsg is empty"); (void)aclRecentErrMsg.assign(aclHostErrMsg); return aclRecentErrMsg.c_str(); } aclRecentErrMsg = aclHostErrMsg + "\n" + aclRecentErrMsg; - ACL_LOG_INFO("execute aclGetRecentErrMsg successfully."); + ACL_LOG_INFO("DEBUG_ZJ execute aclGetRecentErrMsg successfully, aclRecentErrMsg is [%s].", + aclRecentErrMsg.c_str()); return aclRecentErrMsg.c_str(); } -- Gitee