From 0defd11f2918ed92686768b4a8f5c7c1751ae90f Mon Sep 17 00:00:00 2001 From: Jose Donizetti Date: Mon, 30 Oct 2023 09:09:25 -0300 Subject: [PATCH] fix: remove noisy debug log (#3631) --- pkg/ebpf/events_pipeline.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/ebpf/events_pipeline.go b/pkg/ebpf/events_pipeline.go index 7eb0c2c2c673..5989dba87582 100644 --- a/pkg/ebpf/events_pipeline.go +++ b/pkg/ebpf/events_pipeline.go @@ -572,7 +572,7 @@ func (t *Tracee) sinkEvents(ctx context.Context, in <-chan *trace.Event) <-chan // Is the event enabled for the policies or globally? if !t.policyManager.IsEnabled(event.MatchedPoliciesUser, events.ID(event.EventID)) { - logger.Debugw("event dropped because it is not enabled", "event", event.EventName) + // TODO: create metrics from dropped events t.eventsPool.Put(event) continue }