Browse Source

Harmonize use of StructuredLogEncoder

See gh-41712
pull/41744/head
Nikola Kološnjaji 2 years ago committed by Stéphane Nicoll
parent
commit
7f582b0445
  1. 2
      spring-boot-project/spring-boot/src/main/resources/org/springframework/boot/logging/logback/structured-console-appender.xml
  2. 2
      spring-boot-project/spring-boot/src/main/resources/org/springframework/boot/logging/logback/structured-file-appender.xml

2
spring-boot-project/spring-boot/src/main/resources/org/springframework/boot/logging/logback/structured-console-appender.xml

@ -10,7 +10,7 @@ equivalent to the programmatic initialization performed by Boot @@ -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>

2
spring-boot-project/spring-boot/src/main/resources/org/springframework/boot/logging/logback/structured-file-appender.xml

@ -10,7 +10,7 @@ equivalent to the programmatic initialization performed by Boot @@ -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>

Loading…
Cancel
Save