diff --git a/common/acl.cpp b/common/acl.cpp index 325c0b41fafae288d44c34b89443ee812824cd25..d22e8c39a0484729334baf6d0c24dfd307dcad79 100755 --- a/common/acl.cpp +++ b/common/acl.cpp @@ -777,22 +777,27 @@ static std::string GetFaultEventInfo() } const std::string aclHostErrMsg = std::string(error_message::GetErrMgrErrorMessage().get()); + 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(); }