Refactor custom events
This commit is contained in:
1 parent
c9a0e96905
commit
47a7ea21e6
6 files changed
+14
-11
No files matched your search
@@ -118,11 +118,11 @@ function OnLineSysLog(event as object, dateTime as object, logsFile as string, b
|
||||
' They're usually repetitive, one is reported for each stream in a DASH
|
||||
' when a video is blocked
|
||||
if m.sysLogEventDropCounter = 0
|
||||
m.global.telemetry.LogEvent = {
|
||||
LogTelemetryEvent({
|
||||
level: "error"
|
||||
message: line
|
||||
fingerprint: ["SysLog", info.Status, info.LogType, info.HttpCode, info.Method]
|
||||
}
|
||||
})
|
||||
end if
|
||||
m.sysLogEventDropCounter = (m.sysLogEventDropCounter + 1) mod 10
|
||||
end function
|
||||
|
||||
Reference in new issue
Block a user