Revert "Remove trailing newlines from log messages [#55994892]"

This reverts commit c06293a087926d345a548a6a5bf60ca79f110b85.