From daf7d390e58a0eedf5efebd984fc2276d0366e01 Mon Sep 17 00:00:00 2001 From: Toshiaki Maki Date: Thu, 26 Sep 2024 17:06:19 +0900 Subject: [PATCH] tab to space in the log format --- src/main/java/am/ik/blog/config/ResilienceConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/am/ik/blog/config/ResilienceConfig.java b/src/main/java/am/ik/blog/config/ResilienceConfig.java index 27c2f9c..3eabc57 100644 --- a/src/main/java/am/ik/blog/config/ResilienceConfig.java +++ b/src/main/java/am/ik/blog/config/ResilienceConfig.java @@ -31,7 +31,7 @@ public void onEntryAddedEvent(EntryAddedEvent 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(), "")));