Skip to content

Commit

Permalink
controller: make output less verbose
Browse files Browse the repository at this point in the history
Closes #53
  • Loading branch information
timonegk committed Dec 19, 2024
1 parent 8b2c5a3 commit c42ce1b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/sync/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)...)
}
}

Expand All @@ -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)...)
}
}

Expand Down

0 comments on commit c42ce1b

Please sign in to comment.