use fmt.Printf to make it more readable
This commit is contained in:
parent
9b79a37eff
commit
0c030a3bb5
|
@ -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))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue