Skip to content

Commit

Permalink
Reduce log level for events that make most of the log volume with lea…
Browse files Browse the repository at this point in the history
…st of newsworthiness (#22)

These messages make up most of the log volume, yet only indicate that
nothing has happened.

Let's reduce them to the `debug` log level.
  • Loading branch information
mpdude authored Feb 11, 2025
1 parent b1a0657 commit 4530650
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Synchronizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ private function update(object $sourceObject, object $destinationObject): void
}

if (!$mapResult->getObjectHasChanged()) {
$this->logger->info('Kept object with id {id}.', ['id' => $this->mapper->idOf($sourceObject)]);
$this->logger->debug('Kept object with id {id}.', ['id' => $this->mapper->idOf($sourceObject)]);

return;
}
Expand Down

0 comments on commit 4530650

Please sign in to comment.