From 11c4967bdca66275a94b86cadf9a0e5fbcd32351 Mon Sep 17 00:00:00 2001 From: bergquist Date: Thu, 31 Jan 2019 16:43:30 +0100 Subject: [PATCH] changes some info logging to debug --- pkg/services/auth/auth_token.go | 2 +- pkg/services/provisioning/notifiers/alert_notifications.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/services/auth/auth_token.go b/pkg/services/auth/auth_token.go index 7e9433c2d70..db4d9d18624 100644 --- a/pkg/services/auth/auth_token.go +++ b/pkg/services/auth/auth_token.go @@ -151,7 +151,7 @@ func (s *UserAuthTokenServiceImpl) CreateToken(userId int64, clientIP, userAgent func (s *UserAuthTokenServiceImpl) LookupToken(unhashedToken string) (*userAuthToken, error) { hashedToken := hashToken(unhashedToken) if setting.Env == setting.DEV { - s.log.Info("looking up token", "unhashed", unhashedToken, "hashed", hashedToken) + s.log.Debug("looking up token", "unhashed", unhashedToken, "hashed", hashedToken) } expireBefore := getTime().Add(time.Duration(-86400*s.Cfg.LoginCookieMaxDays) * time.Second).Unix() diff --git a/pkg/services/provisioning/notifiers/alert_notifications.go b/pkg/services/provisioning/notifiers/alert_notifications.go index 514f11379c8..7b595a3d32f 100644 --- a/pkg/services/provisioning/notifiers/alert_notifications.go +++ b/pkg/services/provisioning/notifiers/alert_notifications.go @@ -92,7 +92,7 @@ func (dc *NotificationProvisioner) mergeNotifications(notificationToMerge []*not } if cmd.Result == nil { - dc.log.Info("Inserting alert notification from configuration ", "name", notification.Name, "uid", notification.Uid) + dc.log.Debug("inserting alert notification from configuration", "name", notification.Name, "uid", notification.Uid) insertCmd := &models.CreateAlertNotificationCommand{ Uid: notification.Uid, Name: notification.Name, @@ -109,7 +109,7 @@ func (dc *NotificationProvisioner) mergeNotifications(notificationToMerge []*not return err } } else { - dc.log.Info("Updating alert notification from configuration", "name", notification.Name) + dc.log.Debug("updating alert notification from configuration", "name", notification.Name) updateCmd := &models.UpdateAlertNotificationWithUidCommand{ Uid: notification.Uid, Name: notification.Name,