aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-server-common
diff options
context:
space:
mode:
authorJacek <jacek.poreda@sonarsource.com>2021-02-12 17:45:12 +0100
committersonartech <sonartech@sonarsource.com>2021-02-12 20:07:13 +0000
commit9276e6c54b7c84d2db4571a930bf8141598e2e8c (patch)
treed650f44a49a14bc43d24c8e0bad846e14c430540 /server/sonar-server-common
parent70cd3fb194cb5d5d966a368ea3b7cda30253b6d8 (diff)
downloadsonarqube-9276e6c54b7c84d2db4571a930bf8141598e2e8c.tar.gz
sonarqube-9276e6c54b7c84d2db4571a930bf8141598e2e8c.zip
SONAR-14455 Turn-off Elasticsearch 7.10.2 deprecation logging
Diffstat (limited to 'server/sonar-server-common')
-rw-r--r--server/sonar-server-common/src/main/java/org/sonar/server/log/ServerProcessLogging.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/sonar-server-common/src/main/java/org/sonar/server/log/ServerProcessLogging.java b/server/sonar-server-common/src/main/java/org/sonar/server/log/ServerProcessLogging.java
index 7eb374b344b..d2d82065df0 100644
--- a/server/sonar-server-common/src/main/java/org/sonar/server/log/ServerProcessLogging.java
+++ b/server/sonar-server-common/src/main/java/org/sonar/server/log/ServerProcessLogging.java
@@ -77,6 +77,7 @@ public abstract class ServerProcessLogging {
builder.immutableLevel("org.elasticsearch.http", Level.INFO);
// turn off ES type deprecation logging to not flood logs
+ builder.immutableLevel("DEPRECATION", Level.ERROR);
builder.immutableLevel("org.elasticsearch.deprecation", Level.ERROR);
builder.immutableLevel("org.elasticsearch.client.RestClient", Level.ERROR);