]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-19705 Prevent Network-related logs from noisy third-party libraries
authorAntoine Vigneau <antoine.vigneau@sonarsource.com>
Thu, 24 Aug 2023 08:24:19 +0000 (10:24 +0200)
committersonartech <sonartech@sonarsource.com>
Thu, 24 Aug 2023 20:03:07 +0000 (20:03 +0000)
server/sonar-server-common/src/main/java/org/sonar/server/log/ServerProcessLogging.java

index 2269b9a32d12a87424e69875f3f928be87f21990..c3d6cd21be7f2082c55e643bbb540798b23e2810 100644 (file)
@@ -101,6 +101,14 @@ public abstract class ServerProcessLogging {
     // Spring related
     builder.immutableLevel("org.springframework", Level.WARN);
     builder.immutableLevel("org.sonar.core.platform.PriorityBeanFactory", Level.WARN);
+    // Network-communication related
+    builder.immutableLevel("org.apache.http", Level.WARN);
+    builder.immutableLevel("okhttp3", Level.WARN);
+    builder.immutableLevel("sun.net", Level.WARN);
+    // JDK security
+    builder.immutableLevel("jdk.event.security", Level.WARN);
+    // GitHub library
+    builder.immutableLevel("org.kohsuke", Level.WARN);
 
     extendLogLevelConfiguration(builder);