diff options
author | Stephane Gamard <stephane.gamard@searchbox.com> | 2014-07-24 10:14:33 +0200 |
---|---|---|
committer | Stephane Gamard <stephane.gamard@searchbox.com> | 2014-07-24 10:14:33 +0200 |
commit | 0b542cc6562de085f31a95fc8480bc48b05627d2 (patch) | |
tree | 07e120b8bf9a4e161927124319c071b0c011b24d /server | |
parent | aafebf773768ac46471f9de4e6588970085ac0d9 (diff) | |
download | sonarqube-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.xml | 6 | ||||
-rw-r--r-- | server/sonar-server/src/main/resources/org/sonar/server/platform/logback.xml | 3 |
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} |