Explorar o código

#IQRV #comment [Hardware] 日志开关的告警等级调整Severity_Low

gifur %!s(int64=3) %!d(string=hai) anos
pai
achega
4833ac5205
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Module/include/DevEntityCommBase.hpp

+ 1 - 1
Module/include/DevEntityCommBase.hpp

@@ -273,7 +273,7 @@ inline void CDevAdptEntityBase::InitializeVendorLogSwitch()
             GetFunction()->GetEntityStaticInfo(GetEntityName(), staticInfo);
             DWORD dwUsrCode = fromLocal ? 0xFFFEE : 0xFFFEF;
             dwUsrCode |= (staticInfo.wEntityDevelopID << 20);
-            LogWarn(Severity_Middle, Error_Debug, dwUsrCode,
+            LogWarn(Severity_Low, Error_Debug, dwUsrCode,
                     CSimpleStringA::Format("{\"RecordLevel\":\"%s\", \"RecordType\":\"%s\", \"DeterminedBy\":\"%s\"}",
                                            stLogConfig.strLevel.GetData(),
                                            stLogConfig.strType.GetData(),