mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Reduce alerts drop message severity
This commit is contained in:
parent
de7a5a49d8
commit
16b839828d
1 changed files with 1 additions and 1 deletions
|
|
@ -125,7 +125,7 @@ local function enqueueStoreAlert(ifid, alert)
|
|||
|
||||
if(ntop.llenCache(queue) > MAX_NUM_ENQUEUED_ALERT_PER_INTERFACE) then
|
||||
trim = math.ceil(MAX_NUM_ENQUEUED_ALERT_PER_INTERFACE/2)
|
||||
traceError(TRACE_WARNING, TRACE_CONSOLE, string.format("Alerts event queue too long: dropping %u alerts", trim))
|
||||
traceError(TRACE_INFO, TRACE_CONSOLE, string.format("Alerts event queue too long: dropping %u alerts", trim))
|
||||
|
||||
interface.incNumDroppedAlerts(trim)
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue