Skip to content

Commit

Permalink
HPCC-30393 Add new event class and monitor audience
Browse files Browse the repository at this point in the history
Signed-off-by: Gavin Halliday <[email protected]>
  • Loading branch information
ghalliday committed Oct 4, 2023
1 parent 9218e73 commit 0c6d7f0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion esp/scm/ws_logaccess.ecm
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,8 @@ ESPenum LogEventClass : string
Warning("WRN"),
Info("INF"),
Progress("PRO"),
Metric("MET")
Metric("MET"),
Event("EVT")
};

/*
Expand Down
2 changes: 1 addition & 1 deletion esp/services/ws_workunits/ws_workunitsHelpers.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()));
Expand Down

0 comments on commit 0c6d7f0

Please sign in to comment.