Harmonize use of StructuredLogEncoder

See gh-41712
This commit is contained in:
Nikola Kološnjaji 2024-08-07 17:46:14 +02:00 committed by Stéphane Nicoll
parent afe0dd2222
commit 7f582b0445
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ equivalent to the programmatic initialization performed by Boot
<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
<level>${CONSOLE_LOG_THRESHOLD}</level>
</filter>
<encoder class="org.springframework.boot.logging.logback.StructuredLoggingEncoder">
<encoder class="org.springframework.boot.logging.logback.StructuredLogEncoder">
<format>${CONSOLE_LOG_STRUCTURED_FORMAT}</format>
<charset>${CONSOLE_LOG_CHARSET}</charset>
</encoder>

View File

@ -10,7 +10,7 @@ equivalent to the programmatic initialization performed by Boot
<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
<level>${FILE_LOG_THRESHOLD}</level>
</filter>
<encoder class="org.springframework.boot.logging.logback.StructuredLoggingEncoder">
<encoder class="org.springframework.boot.logging.logback.StructuredLogEncoder">
<format>${FILE_LOG_STRUCTURED_FORMAT}</format>
<charset>${FILE_LOG_CHARSET}</charset>
</encoder>