aboutsummaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorStephane Gamard <stephane.gamard@searchbox.com>2014-07-24 10:14:33 +0200
committerStephane Gamard <stephane.gamard@searchbox.com>2014-07-24 10:14:33 +0200
commit0b542cc6562de085f31a95fc8480bc48b05627d2 (patch)
tree07e120b8bf9a4e161927124319c071b0c011b24d /server
parentaafebf773768ac46471f9de4e6588970085ac0d9 (diff)
downloadsonarqube-0b542cc6562de085f31a95fc8480bc48b05627d2.tar.gz
sonarqube-0b542cc6562de085f31a95fc8480bc48b05627d2.zip
SONAR-4898 - Console logger for server and search is filtered warn (as it is gobbled by sonar-application)
Diffstat (limited to 'server')
-rw-r--r--server/sonar-search/src/main/resources/logback.xml6
-rw-r--r--server/sonar-server/src/main/resources/org/sonar/server/platform/logback.xml3
2 files changed, 5 insertions, 4 deletions
diff --git a/server/sonar-search/src/main/resources/logback.xml b/server/sonar-search/src/main/resources/logback.xml
index 25d1932da9d..d44b97f9bc8 100644
--- a/server/sonar-search/src/main/resources/logback.xml
+++ b/server/sonar-search/src/main/resources/logback.xml
@@ -28,10 +28,8 @@
</appender>
<appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
- <filter class="ch.qos.logback.classic.filter.LevelFilter">
- <level>INFO</level>
- <onMatch>ACCEPT</onMatch>
- <onMismatch>DENY</onMismatch>
+ <filter class="ch.qos.logback.classic.filter.ThresholdFilter">
+ <level>warn</level>
</filter>
<encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
<pattern>
diff --git a/server/sonar-server/src/main/resources/org/sonar/server/platform/logback.xml b/server/sonar-server/src/main/resources/org/sonar/server/platform/logback.xml
index 24e4a0fecce..fe7c457ccda 100644
--- a/server/sonar-server/src/main/resources/org/sonar/server/platform/logback.xml
+++ b/server/sonar-server/src/main/resources/org/sonar/server/platform/logback.xml
@@ -28,6 +28,9 @@
</appender>
<appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
+ <filter class="ch.qos.logback.classic.filter.ThresholdFilter">
+ <level>warn</level>
+ </filter>
<encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
<pattern>
${CONSOLE_LOGGING_FORMAT}