Skip to content

Commit 306ace4

Browse files
Change log level to warn for DynamicLogLevelExceptions
Change-Id: I3fe1c9de7fe08c3cec67cc21af0b79a4bb213cc5
1 parent ec4ae2f commit 306ace4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cf-java-logging-support-servlet/src/main/java/com/sap/hcp/cf/logging/servlet/dynlog/DynamicLogLevelProcessor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public void copyDynamicLogLevelToMDC(HttpServletRequest httpRequest) {
4747
ALLOWED_DYNAMIC_LOGLEVELS.toString());
4848
}
4949
} catch (DynamicLogLevelException e) {
50-
LOGGER.error("DynamicLogLevelProcessor could not write dynamic log level to MDC", e);
50+
LOGGER.warn("DynamicLogLevelProcessor could not write dynamic log level to MDC", e);
5151
}
5252
}
5353
}

0 commit comments

Comments
 (0)