浏览代码

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

gifur 3 年之前
父节点
当前提交
4833ac5205
共有 1 个文件被更改,包括 1 次插入1 次删除
  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(),