From 885c28309769ab92e299f80dd361303fc7c5bff4 Mon Sep 17 00:00:00 2001 From: alteredCoder Date: Tue, 1 Aug 2023 10:58:36 +0200 Subject: [PATCH] remove debug --- pkg/acquisition/modules/waf/utils.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkg/acquisition/modules/waf/utils.go b/pkg/acquisition/modules/waf/utils.go index 8a1edd635..be5ba81cc 100644 --- a/pkg/acquisition/modules/waf/utils.go +++ b/pkg/acquisition/modules/waf/utils.go @@ -10,7 +10,6 @@ import ( "github.com/crowdsecurity/crowdsec/pkg/types" "github.com/crowdsecurity/crowdsec/pkg/waf" "github.com/prometheus/client_golang/prometheus" - log "github.com/sirupsen/logrus" ) func EventFromRequest(r waf.ParsedRequest) (types.Event, error) { @@ -121,7 +120,6 @@ func (r *WafRunner) AccumulateTxToEvent(tx experimental.FullTransaction, kind st //log.Infof("TX %s", spew.Sdump(tx.MatchedRules())) for _, rule := range tx.MatchedRules() { - log.Infof("Matched rules ID: %+v", rule.Rule().ID()) if rule.Message() == "" { continue }