Log intentionally unsent notifications as DEBUG (#16997)

This commit is contained in:
Eli Young
2021-02-24 23:34:44 -08:00
committed by GitHub
parent d7571b401b
commit 0c7261b157

View File

@@ -348,7 +348,7 @@ func (a *App) SendNotifications(post *model.Post, team *model.Team, channel *mod
)
} else {
// register that a notification was not sent
a.NotificationsLog().Warn("Notification not sent",
a.NotificationsLog().Debug("Notification not sent",
mlog.String("ackId", ""),
mlog.String("type", model.PUSH_TYPE_MESSAGE),
mlog.String("userId", id),
@@ -380,7 +380,7 @@ func (a *App) SendNotifications(post *model.Post, team *model.Team, channel *mod
)
} else {
// register that a notification was not sent
a.NotificationsLog().Warn("Notification not sent",
a.NotificationsLog().Debug("Notification not sent",
mlog.String("ackId", ""),
mlog.String("type", model.PUSH_TYPE_MESSAGE),
mlog.String("userId", id),