Fix one last log level that I missed

Signed-off-by: Alex Weaver <weaver.alex.d@gmail.com>
This commit is contained in:
Alex Weaver 2022-11-25 14:03:33 -06:00
parent 42dcba213f
commit 18181afb15
1 changed files with 1 additions and 1 deletions

View File

@ -176,7 +176,7 @@ func (n *Notifier) createRequests(ctx context.Context, as ...*types.Alert) ([]*h
default:
message, truncated := notify.TruncateInRunes(tmpl(n.conf.Message), maxMessageLenRunes)
if truncated {
level.Debug(n.logger).Log("msg", "Truncated message", "alert", key, "runes", maxMessageLenRunes)
level.Warn(n.logger).Log("msg", "Truncated message", "alert", key, "runes", maxMessageLenRunes)
}
createEndpointURL := n.conf.APIURL.Copy()