From c42ce1b4e6f9887d21889984f3e5614d2f36f056 Mon Sep 17 00:00:00 2001 From: Timon Engelke Date: Wed, 18 Dec 2024 13:36:30 +0100 Subject: [PATCH] controller: make output less verbose Closes #53 --- internal/sync/controller.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/sync/controller.go b/internal/sync/controller.go index 0ec56d2..c83473d 100644 --- a/internal/sync/controller.go +++ b/internal/sync/controller.go @@ -217,7 +217,7 @@ func (p Controller) diffEvents(sourceEvents []models.Event, sinkEvents []models. updateEvents = append(updateEvents, sinkEvent.Overwrite(event)) default: - p.logger.Info("event in sync", logFields(event)...) + p.logger.Debug("event in sync", logFields(event)...) } } @@ -238,7 +238,7 @@ func (p Controller) diffEvents(sourceEvents []models.Event, sinkEvents []models. default: // Do not delete events which were not loaded by the current sourceEvents-adapter. // This enables the synchronization of multiple sources without them interfering. - p.logger.Info("event is not in sourceEvents but was not synced with this source adapter, skipping", logFields(event)...) + p.logger.Debug("event is not in sourceEvents but was not synced with this source adapter, skipping", logFields(event)...) } }