You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit aligns the file charset between Log4j2 and Logback.
Prior to this commit, there was an inconsistency between the two: Log4j2
used UTF-8, while Logback used Charset.defaultCharset(), which is
platform-dependent.
See gh-46846
Signed-off-by: Dmytro Nosan <[email protected]>
Copy file name to clipboardExpand all lines: core/spring-boot/src/main/java/org/springframework/boot/logging/logback/LogbackLoggingSystemProperties.java
-6Lines changed: 0 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,6 @@
17
17
packageorg.springframework.boot.logging.logback;
18
18
19
19
importjava.io.Console;
20
-
importjava.nio.charset.Charset;
21
20
importjava.util.function.BiConsumer;
22
21
importjava.util.function.Function;
23
22
@@ -78,11 +77,6 @@ public LogbackLoggingSystemProperties(Environment environment,
Copy file name to clipboardExpand all lines: core/spring-boot/src/test/java/org/springframework/boot/logging/logback/DefaultLogbackConfigurationTests.java
Copy file name to clipboardExpand all lines: core/spring-boot/src/test/java/org/springframework/boot/logging/logback/LogbackLoggingSystemPropertiesTests.java
0 commit comments