From ebe54ca92e0961df80aeba167cdefb892a44e5fc Mon Sep 17 00:00:00 2001 From: Atanas Janeshliev Date: Tue, 24 Sep 2024 13:58:26 +0200 Subject: [PATCH] fix(BRIDGE-210): reduced log level of cache events so they won't be printed to stdout --- internal/services/notifications/store.go | 2 +- internal/unleash/service.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/services/notifications/store.go b/internal/services/notifications/store.go index cf53cfa8..42080313 100644 --- a/internal/services/notifications/store.go +++ b/internal/services/notifications/store.go @@ -109,7 +109,7 @@ func (s *Store) readCache() { file, err := os.Open(s.cacheFilepath) if err != nil { - s.log.WithError(err).Error("Unable to open cache file") + s.log.WithError(err).Info("Unable to open cache file") return } diff --git a/internal/unleash/service.go b/internal/unleash/service.go index 6d76ac45..174cd639 100644 --- a/internal/unleash/service.go +++ b/internal/unleash/service.go @@ -111,7 +111,7 @@ func (s *Service) readCacheFile() { file, err := os.Open(s.cacheFilepath) if err != nil { - s.log.WithError(err).Error("Unable to open cache file") + s.log.WithError(err).Info("Unable to open cache file") return }