This commit is contained in:
Hector 2023-06-22 16:08:32 +01:00
parent 9ae5a14c38
commit 11e34a4cff

View File

@ -19,7 +19,7 @@ type Collector struct {
}
func NewExporter(appSettings *cfg.AppSettings, exporterVersion string) *Collector {
log.Printf("reading fail2ban metrics socket file: %s", appSettings.Fail2BanSocketPath)
log.Printf("reading fail2ban metrics from socket file: %s", appSettings.Fail2BanSocketPath)
printFail2BanServerVersion(appSettings.Fail2BanSocketPath)
return &Collector{
socketPath: appSettings.Fail2BanSocketPath,