diff --git a/ipblocklist/firehol.go b/ipblocklist/firehol.go index ee1d473..20dd0d8 100644 --- a/ipblocklist/firehol.go +++ b/ipblocklist/firehol.go @@ -95,6 +95,8 @@ func (f *Firehol) Run(updateEach time.Duration) { if err := f.update(); err != nil { f.logger.WarningError("cannot update blocklist", err) + } else { + f.logger.Info("blocklist was updated") } for { @@ -104,6 +106,8 @@ func (f *Firehol) Run(updateEach time.Duration) { case <-ticker.C: if err := f.update(); err != nil { f.logger.WarningError("cannot update blocklist", err) + } else { + f.logger.Info("blocklist was updated") } } }