From 82414a4980689b230ed0b8ef6388fb42b052ea04 Mon Sep 17 00:00:00 2001 From: Pablo Carle Date: Fri, 1 Nov 2024 09:22:42 +0100 Subject: [PATCH] update default javax.net.ssl log level (#3872) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Pablo Hernán Carle Co-authored-by: Pablo Hernán Carle --- api-catalog-services/src/main/resources/application.yml | 1 + caching-service/src/main/resources/application.yml | 1 + cloud-gateway-service/src/main/resources/application.yml | 1 + discoverable-client/src/main/resources/application.yml | 1 + discovery-service/src/main/resources/application.yml | 1 + gateway-service/src/main/resources/application.yml | 1 + metrics-service/src/main/resources/application.yml | 1 + 7 files changed, 7 insertions(+) diff --git a/api-catalog-services/src/main/resources/application.yml b/api-catalog-services/src/main/resources/application.yml index a80b68bffb..eacdbae3a3 100644 --- a/api-catalog-services/src/main/resources/application.yml +++ b/api-catalog-services/src/main/resources/application.yml @@ -40,6 +40,7 @@ logging: org.apache: WARN #org.apache.catalina, org.apache.coyote, org.apache.tomcat org.eclipse.jetty: WARN org.apache.http.conn.ssl.DefaultHostnameVerifier: DEBUG #logs only SSLException + javax.net.ssl: ERROR # For running with java 17 ############################################################################################## # APIML configuration section diff --git a/caching-service/src/main/resources/application.yml b/caching-service/src/main/resources/application.yml index 693e159fe3..06f6ef2fe2 100644 --- a/caching-service/src/main/resources/application.yml +++ b/caching-service/src/main/resources/application.yml @@ -38,6 +38,7 @@ logging: org.springframework.boot.web.embedded.tomcat.TomcatWebServer: INFO org.apache.http.conn.ssl.DefaultHostnameVerifier: DEBUG #logs only SSLException org.springframework.security.config.annotation.web.builders.WebSecurity: ERROR + javax.net.ssl: ERROR # For running with java 17 eureka: client: initialInstanceInfoReplicationIntervalSeconds: 1 diff --git a/cloud-gateway-service/src/main/resources/application.yml b/cloud-gateway-service/src/main/resources/application.yml index 5e54ffa4b0..2f046a030a 100644 --- a/cloud-gateway-service/src/main/resources/application.yml +++ b/cloud-gateway-service/src/main/resources/application.yml @@ -86,6 +86,7 @@ logging: org.springframework.context.support: WARN reactor.netty.http.client: INFO reactor.netty.http.client.HttpClientConnect: OFF + javax.net.ssl: ERROR # For running with java 17 management: endpoint: diff --git a/discoverable-client/src/main/resources/application.yml b/discoverable-client/src/main/resources/application.yml index aed1b20d50..8d4c6a030c 100644 --- a/discoverable-client/src/main/resources/application.yml +++ b/discoverable-client/src/main/resources/application.yml @@ -12,6 +12,7 @@ logging: com.netflix.discovery.DiscoveryClient: OFF org.springframework.boot.web.embedded.tomcat.TomcatWebServer: INFO org.apache.http.conn.ssl.DefaultHostnameVerifier: DEBUG #logs only SSLException + javax.net.ssl: ERROR # For running with java 17 spring: config: diff --git a/discovery-service/src/main/resources/application.yml b/discovery-service/src/main/resources/application.yml index 2cffd89515..8e4d46ef67 100644 --- a/discovery-service/src/main/resources/application.yml +++ b/discovery-service/src/main/resources/application.yml @@ -18,6 +18,7 @@ logging: org.apache: WARN #org.apache.catalina, org.apache.coyote, org.apache.tomcat org.eclipse.jetty: WARN org.apache.http.conn.ssl.DefaultHostnameVerifier: DEBUG #logs only SSLException + javax.net.ssl: ERROR # For running with java 17 # com.netflix.eureka.resources: WARN apiml: diff --git a/gateway-service/src/main/resources/application.yml b/gateway-service/src/main/resources/application.yml index 9539a4535f..acf24afdd7 100644 --- a/gateway-service/src/main/resources/application.yml +++ b/gateway-service/src/main/resources/application.yml @@ -22,6 +22,7 @@ logging: # New Config org.apache: WARN #org.apache.catalina, org.apache.coyote, org.apache.tomcat javax.servlet: INFO + javax.net.ssl: ERROR # For running with java 17 org.apache.http.conn.ssl.DefaultHostnameVerifier: DEBUG #logs only SSLException org.eclipse.jetty.util.ssl: ERROR org.apache.tomcat.util.net.SSLUtilBase: ERROR diff --git a/metrics-service/src/main/resources/application.yml b/metrics-service/src/main/resources/application.yml index c19490b3c9..cbd5f7a2c3 100644 --- a/metrics-service/src/main/resources/application.yml +++ b/metrics-service/src/main/resources/application.yml @@ -13,6 +13,7 @@ logging: com.netflix.discovery.DiscoveryClient: OFF org.springframework.boot.web.embedded.tomcat.TomcatWebServer: INFO org.apache.http.conn.ssl.DefaultHostnameVerifier: DEBUG #logs only SSLException + javax.net.ssl: ERROR # For running with java 17 eureka: client: