diff --git a/main.go b/main.go index b96d1f0..b23aa21 100644 --- a/main.go +++ b/main.go @@ -386,11 +386,11 @@ func main() { cfg, err := readConfig(configPath) if err != nil { - logger.Fatalf("config: %v", err) + logger.Fatalf("Failed to read config: %v", err) } if err := logger.SetLevelFromString(cfg.LogLevel); err != nil { - logger.Errorf("config: %v", err) + logger.Errorf("Failed to parse logging level: %v", err) } client := &httpClient{&http.Client{Timeout: time.Second * 3}} diff --git a/silence.go b/silence.go index 553a22c..78d0951 100644 --- a/silence.go +++ b/silence.go @@ -133,5 +133,5 @@ func (br *bridge) handleSilences(w http.ResponseWriter, r *http.Request) { return } - br.logger.Debugf("silences: created new silence %s", id.ID) + br.logger.Infof("Created new silence %s", id.ID) }