We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6459926 commit ffe5348Copy full SHA for ffe5348
spring-boot/src/main/java/org/springframework/boot/logging/LoggingApplicationListener.java
@@ -168,13 +168,13 @@ private void cleanLogTempProperty() {
168
// Logback won't read backslashes so add a clean path for it to use
169
if (!StringUtils.hasLength(System.getProperty("LOG_TEMP"))) {
170
String path = System.getProperty("java.io.tmpdir");
171
- if (path!=null) {
+ if (path != null) {
172
path = StringUtils.cleanPath(path);
173
if (path.endsWith("/")) {
174
path = path.substring(0, path.length() - 1);
175
}
176
System.setProperty("LOG_TEMP", path);
177
- }
+ }
178
179
180
0 commit comments