Skip to content

Commit bf5567f

Browse files
Change log level to avoid errors during app-start w.o. key
Change-Id: Iab96990b1b5754c82cbfa3bd96527f02a15c7579
1 parent 37c9bfa commit bf5567f

File tree

1 file changed

+1
-1
lines changed
  • cf-java-logging-support-servlet/src/main/java/com/sap/hcp/cf/logging/servlet/dynlog

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public RSAPublicKey readPublicKey(Environment environment) throws IOException, N
2222
String pemKey = environment.getVariable("DYN_LOG_LEVEL_KEY");
2323

2424
if (pemKey == null) {
25-
LOGGER.error("DYN_LOG_LEVEL_KEY not found in environment");
25+
LOGGER.info("DYN_LOG_LEVEL_KEY not found in environment");
2626
return null;
2727
} else {
2828
pemKey = pemKey.replace("-----BEGIN PUBLIC KEY-----", "");

0 commit comments

Comments
 (0)