remove debug

This commit is contained in:
alteredCoder 2023-08-01 10:58:36 +02:00
parent cbf06c25fb
commit 885c283097

View file

@ -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
}