Change logging to debug when notifications aren't sent due to route mute

Signed-off-by: Ben Ridley <benridley29@gmail.com>
This commit is contained in:
Ben Ridley 2020-10-13 11:06:31 +11:00
parent a3cb125e5c
commit 93e0117b46

View File

@ -806,8 +806,8 @@ func (mts TimeMuteStage) Exec(ctx context.Context, l log.Logger, alerts ...*type
} }
// If the current time is inside a mute time, all alerts are removed from the pipeline // If the current time is inside a mute time, all alerts are removed from the pipeline
if muted { if muted {
lvl := level.Warn(l) lvl := level.Debug(l)
lvl.Log("Mail not sent due to being outside time interval") lvl.Log("msg", "Notifications not sent, route is within mute time")
return ctx, nil, nil return ctx, nil, nil
} }
return ctx, alerts, nil return ctx, alerts, nil