From 8ba692b1150c2919804fcaca67e9f785db060879 Mon Sep 17 00:00:00 2001 From: alteredCoder Date: Wed, 19 Jul 2023 12:02:38 +0200 Subject: [PATCH] debug --- pkg/acquisition/modules/waf/utils.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkg/acquisition/modules/waf/utils.go b/pkg/acquisition/modules/waf/utils.go index f3a56b86a..55e673ba9 100644 --- a/pkg/acquisition/modules/waf/utils.go +++ b/pkg/acquisition/modules/waf/utils.go @@ -7,7 +7,6 @@ import ( "github.com/crowdsecurity/coraza/v3/experimental" "github.com/crowdsecurity/crowdsec/pkg/types" "github.com/crowdsecurity/crowdsec/pkg/waf" - "github.com/davecgh/go-spew/spew" "github.com/prometheus/client_golang/prometheus" log "github.com/sirupsen/logrus" ) @@ -57,7 +56,7 @@ func LogWaapEvent(evt *types.Event) { } func AccumulateTxToEvent(tx experimental.FullTransaction, kind string, evt *types.Event) error { - log.Infof("TX %s", spew.Sdump(tx)) + log.Infof("TX %v", &tx) if tx.IsInterrupted() { log.Infof("interrupted() = %t", tx.IsInterrupted()) log.Infof("interrupted.action = %s", tx.Interruption().Action)