From 0c030a3bb559518be75e842447c4f7b962e01dc5 Mon Sep 17 00:00:00 2001 From: Sebastien Blot Date: Tue, 5 Dec 2023 16:49:34 +0100 Subject: [PATCH] use fmt.Printf to make it more readable --- pkg/hubtest/hubtest_item.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/hubtest/hubtest_item.go b/pkg/hubtest/hubtest_item.go index b3df015ba..2ee9a7d7c 100644 --- a/pkg/hubtest/hubtest_item.go +++ b/pkg/hubtest/hubtest_item.go @@ -617,7 +617,7 @@ func (t *HubTestItem) RunWithNucleiTemplate() error { log.Errorf("unable to read crowdsec log file '%s': %s", crowdsecLogFile, err) } else { log.Errorf("crowdsec log file '%s'", crowdsecLogFile) - log.Errorf("%s", string(crowdsecLog)) + fmt.Printf("%s\n", string(crowdsecLog)) } } } else { @@ -631,7 +631,7 @@ func (t *HubTestItem) RunWithNucleiTemplate() error { log.Errorf("unable to read crowdsec log file '%s': %s", crowdsecLogFile, err) } else { log.Errorf("crowdsec log file '%s'", crowdsecLogFile) - log.Errorf("%s", string(crowdsecLog)) + fmt.Printf("%s\n", string(crowdsecLog)) } } }