Skip to content

Commit

Permalink
Log just the amount of flows recieved
Browse files Browse the repository at this point in the history
  • Loading branch information
jrouzierinverse committed Dec 11, 2024
1 parent 8d1e682 commit ba601f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/cron/aggregator.go
Original file line number Diff line number Diff line change
Expand Up @@ -427,8 +427,8 @@ loop:
select {
case pfflowsArray := <-ChanPfFlow:
for _, pfflows := range pfflowsArray {
log.LogInfof(ctx, "Received %d flows of FlowType %s", len(*pfflows.Flows), flowType(pfflows.Header.FlowType))
for _, f := range *pfflows.Flows {
logPfFlow(ctx, &pfflows.Header, &f)
key := f.Key(&pfflows.Header)
val := a.events[key]
if a.Heuristics > 0 {
Expand Down

0 comments on commit ba601f5

Please sign in to comment.