From 0c6d7f098863d706125cf9ab605a48a89f86c072 Mon Sep 17 00:00:00 2001 From: Gavin Halliday Date: Wed, 4 Oct 2023 08:46:00 +0100 Subject: [PATCH] HPCC-30393 Add new event class and monitor audience Signed-off-by: Gavin Halliday --- esp/scm/ws_logaccess.ecm | 3 ++- esp/services/ws_workunits/ws_workunitsHelpers.hpp | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/esp/scm/ws_logaccess.ecm b/esp/scm/ws_logaccess.ecm index 455561e7f7f..ab9f8fb80f5 100644 --- a/esp/scm/ws_logaccess.ecm +++ b/esp/scm/ws_logaccess.ecm @@ -108,7 +108,8 @@ ESPenum LogEventClass : string Warning("WRN"), Info("INF"), Progress("PRO"), - Metric("MET") + Metric("MET"), + Event("EVT") }; /* diff --git a/esp/services/ws_workunits/ws_workunitsHelpers.hpp b/esp/services/ws_workunits/ws_workunitsHelpers.hpp index 37534458b2b..efaad03fce9 100644 --- a/esp/services/ws_workunits/ws_workunitsHelpers.hpp +++ b/esp/services/ws_workunits/ws_workunitsHelpers.hpp @@ -261,7 +261,7 @@ struct WUComponentLogOptions logFetchFilter = getBinaryLogAccessFilter(logFetchFilter, componentsFilterObj, LOGACCESS_FILTER_and); ILogAccessFilter * logEventTypeFilterObj = nullptr; - StringBuffer logType; //"DIS","ERR","WRN","INF","PRO","MET","ALL" + StringBuffer logType; //"DIS","ERR","WRN","INF","PRO","MET","EVT","ALL" zapHttpRequest->getParameter("LogFilter_LogEventType", logType); if (!logType.isEmpty() && strcmp(logType.str(), "ALL") != 0) logEventTypeFilterObj = getClassLogAccessFilter(LogMsgClassFromAbbrev(logType.str()));