use fmt.Printf to make it more readable

This commit is contained in:
Sebastien Blot 2023-12-05 16:49:34 +01:00
parent 9b79a37eff
commit 0c030a3bb5
No known key found for this signature in database
GPG key ID: DFC2902F40449F6A

View file

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