|
@@ -58,7 +58,7 @@ func InitTriggerConfig() {
|
|
|
}
|
|
|
} else {
|
|
|
errorCodeSoPath := "/mnt/media/sda1/cicv-data-closedloop/ErrorCode.so"
|
|
|
- c_log.GlobalLogger.Error("无法连接互联网,提前准备触发器插件文件:", errorCodeSoPath)
|
|
|
+ c_log.GlobalLogger.Info("无法连接互联网,提前准备触发器插件文件:", errorCodeSoPath)
|
|
|
triggerLocalPathsMapTriggerId[errorCodeSoPath] = "ErrorCodeId"
|
|
|
}
|
|
|
|
|
@@ -539,7 +539,7 @@ func InitTriggerConfig() {
|
|
|
LabelMapTriggerId.Store(labelString, triggerId)
|
|
|
success++
|
|
|
}
|
|
|
- c_log.GlobalLogger.Info("一共应加载", len(config.PlatformConfig.TaskTriggers), "个触发器,实际加载 ", success, " 个触发器。")
|
|
|
+ c_log.GlobalLogger.Info("一共应加载", len(triggerLocalPathsMapTriggerId), "个触发器,实际加载 ", success, " 个触发器。")
|
|
|
}
|
|
|
|
|
|
func log(triggerLocalPath string) {
|