Explorar o código

#IQRV #comment [BugFix][Healthmanager] 杜绝告警不加任何前缀,直接输入变量内容

gifur %!s(int64=3) %!d(string=hai) anos
pai
achega
3145d55c52
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      Module/mod_healthmanager/mod_healthmanager.cpp

+ 2 - 2
Module/mod_healthmanager/mod_healthmanager.cpp

@@ -2400,8 +2400,8 @@ void CHealthManagerEntity::Gateway(SpReqAnsContext<HealthManagerService_Gateway_
 				}
 			}
         }
-
-		LogWarn(Severity_Middle, Error_Debug, LOG_WARN_HEALTH_GATEWAY_CMD, tmpMsg);
+		LogWarn(Severity_Middle, Error_Debug, LOG_WARN_HEALTH_GATEWAY_CMD, 
+				CSimpleStringA::Format("GateWay: %s", tmpMsg.GetData()));
 	}
 
 	ctx->Ans.result = tmpResult;