Browse Source

Z991239-5382 #comment feat: 告警调整

陈纪林80310970 1 year ago
parent
commit
11cc5f9ffd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Module/mod_accessauth/mod_AccessAuth.cpp

+ 1 - 1
Module/mod_accessauth/mod_AccessAuth.cpp

@@ -1920,7 +1920,7 @@ void CAccessAuthEntity::GetTermSysInfo()
 			strErrMsg = "get sm3 hash as fingerprint fail";
 			SetAuthErrMsg((const char*)strErrMsg);
 			this->GetFunction()->SetSysVar("AuthErrMsg", (const char*)strErrMsg, true);
-			m_FSM.doWarnMsg(ERROR_ACCESSAUTH_GETSM3HASH, (const char*)strErrMsg);
+			LogWarn(Severity_Middle, Error_Unexpect, ERROR_ACCESSAUTH_GETSM3HASH, (const char*)strErrMsg);
 			DbgWithLink(LOG_LEVEL_WARN, LOG_TYPE_SYSTEM).setAPI("GetTerminalFingerPrint")((const char*)strErrMsg);
 			m_iGetTermSysInfo = -1;
 		}