Skip to content

Instantly share code, notes, and snippets.

@wicknicks
Created April 23, 2018 17:23
Show Gist options
  • Save wicknicks/d9e293488506a4c66cf4aa96ae47a623 to your computer and use it in GitHub Desktop.
Save wicknicks/d9e293488506a4c66cf4aa96ae47a623 to your computer and use it in GitHub Desktop.
Adding parameters to the log message
log.trace(
"Should apply periodic time-based rotation (rotateIntervalMs: '{}', baseRecordTimestamp: "
+ "'{}', timestamp: '{}', encodedPartition: '{}', currentEncodedPartition: '{}')? {}",
rotateIntervalMs,
baseRecordTimestamp,
recordTimestamp,
encodedPartition,
currentEncodedPartition,
periodicRotation
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment