From a2c35d3d66cfd2c699a823fd4dd1d9a4b40b2a35 Mon Sep 17 00:00:00 2001 From: Meisam <39205857+MFTabriz@users.noreply.github.com> Date: Tue, 27 Dec 2022 21:10:42 +0100 Subject: [PATCH] set RemoveNotificationForChanne() log to debug (#2517) --- notifications/persistence.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/notifications/persistence.go b/notifications/persistence.go index bc6cecec1..bdec611d1 100644 --- a/notifications/persistence.go +++ b/notifications/persistence.go @@ -31,9 +31,9 @@ func AddNotification(channel, destination string) error { }) } -// RemoveNotificationForChannel removes a notification destination.. +// RemoveNotificationForChannel removes a notification destination. func RemoveNotificationForChannel(channel, destination string) error { - log.Println("Removing notification for channel", channel) + log.Debugln("Removing notification for channel", channel) return data.GetDatastore().GetQueries().RemoveNotificationDestinationForChannel(context.Background(), db.RemoveNotificationDestinationForChannelParams{ Channel: channel, Destination: destination,