Skip to content

Commit

Permalink
fix: A log message continued in separate logger call
Browse files Browse the repository at this point in the history
- They should be in the same logger call. Otherwise another log message can come between them and make the log messages less clearer.

[#185977500]
  • Loading branch information
hsinn0 committed Sep 27, 2023
1 parent 732cc71 commit 9431171
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,9 @@ public void rotate() {
if (rotatedRecordCount == 0) {
LOGGER.info("Found no records in need of encryption key rotation.");
} else {
LOGGER.info("Finished encryption key rotation in " + duration + " milliseconds. Details:");
LOGGER.info(" Successfully rotated " + rotatedRecordCount + " item(s)");
LOGGER.info("Finished encryption key rotation in " + duration +
" milliseconds. Details: Successfully rotated " +
rotatedRecordCount + " item(s)");
}

encryptionKeyCanaryMapper.delete(inactiveCanaries);
Expand Down

0 comments on commit 9431171

Please sign in to comment.