diff options
author | Jacek <jacek.poreda@sonarsource.com> | 2020-11-04 15:48:15 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2020-11-05 20:06:22 +0000 |
commit | 4d5d9eb797b38d2559b39b26c8d0d8c9c24d1db2 (patch) | |
tree | 3b0fd72a50f4cba9047864b7486fa1e4f504b487 /server/sonar-server-common | |
parent | b108185e3c5526dc07c8fa5554995cb8574ad724 (diff) | |
download | sonarqube-4d5d9eb797b38d2559b39b26c8d0d8c9c24d1db2.tar.gz sonarqube-4d5d9eb797b38d2559b39b26c8d0d8c9c24d1db2.zip |
SONAR-12686 turn off Elasticsearch client deprecation logging
Diffstat (limited to 'server/sonar-server-common')
-rw-r--r-- | server/sonar-server-common/src/main/java/org/sonar/server/log/ServerProcessLogging.java | 5 |
1 files changed, 5 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 1b70517fb54..668f4fdae19 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 @@ -75,6 +75,11 @@ public abstract class ServerProcessLogging { builder.immutableLevel("org.elasticsearch", Level.INFO); builder.immutableLevel("org.elasticsearch.node", Level.INFO); builder.immutableLevel("org.elasticsearch.http", Level.INFO); + + // turn off ES type deprecation logging to not flood logs + builder.immutableLevel("org.elasticsearch.deprecation", Level.ERROR); + builder.immutableLevel("org.elasticsearch.client.RestClient", Level.ERROR); + builder.immutableLevel("ch.qos.logback", Level.WARN); builder.immutableLevel("org.apache.catalina", Level.INFO); builder.immutableLevel("org.apache.coyote", Level.INFO); |