Skip to content

Commit

Permalink
tab to space in the log format
Browse files Browse the repository at this point in the history
  • Loading branch information
making committed Sep 26, 2024
1 parent a24703c commit daf7d39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/am/ik/blog/config/ResilienceConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public void onEntryAddedEvent(EntryAddedEvent<Retry> entryAddedEvent) {
entryAddedEvent.getAddedEntry()
.getEventPublisher()
.onEvent(event -> log(event,
"name={}\tevent_type={}\tattempt={}\tlast_throwable_type={}\tlast_throwable_message=\"{}\"",
"name={} event_type={} attempt={} last_throwable_type={} last_throwable_message=\"{}\"",
event.getName(), event.getEventType(), event.getNumberOfRetryAttempts(),
event.getLastThrowable().getClass(),
Objects.requireNonNullElse(event.getLastThrowable().getMessage(), "")));
Expand Down

0 comments on commit daf7d39

Please sign in to comment.