aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-batch
diff options
context:
space:
mode:
authorsimonbrandhof <simon.brandhof@gmail.com>2011-10-30 10:32:15 +0100
committersimonbrandhof <simon.brandhof@gmail.com>2011-10-30 10:32:50 +0100
commitd3678f4fa989f71118d0595fe5962b55e0ca4f71 (patch)
tree7b641cb154e9dca10ac787e92e1ce62889127f3a /sonar-batch
parent78e5033d8c535a357ef5e166afd1a00717aac5df (diff)
downloadsonarqube-d3678f4fa989f71118d0595fe5962b55e0ca4f71.tar.gz
sonarqube-d3678f4fa989f71118d0595fe5962b55e0ca4f71.zip
SONAR-2914 disable BeanUtils DEBUG logs when sonar.verbose is enabled
Diffstat (limited to 'sonar-batch')
-rw-r--r--sonar-batch/src/main/java/org/sonar/batch/bootstrap/TempDirectories.java2
-rw-r--r--sonar-batch/src/main/resources/org/sonar/batch/logback.xml6
2 files changed, 5 insertions, 3 deletions
diff --git a/sonar-batch/src/main/java/org/sonar/batch/bootstrap/TempDirectories.java b/sonar-batch/src/main/java/org/sonar/batch/bootstrap/TempDirectories.java
index f1ca7491db8..20afbc87836 100644
--- a/sonar-batch/src/main/java/org/sonar/batch/bootstrap/TempDirectories.java
+++ b/sonar-batch/src/main/java/org/sonar/batch/bootstrap/TempDirectories.java
@@ -88,8 +88,6 @@ public final class TempDirectories {
public void stop() {
directoriesByKey.clear();
- LoggerFactory.getLogger(getClass()).debug("Delete temporary directories");
-
// Deleting temp directory does not work on MS Windows and Sun JVM because URLClassLoader locks JARs and resources.
// The workaround is that sonar deletes orphans itself.
diff --git a/sonar-batch/src/main/resources/org/sonar/batch/logback.xml b/sonar-batch/src/main/resources/org/sonar/batch/logback.xml
index b016bf15c23..b05c4f38fa1 100644
--- a/sonar-batch/src/main/resources/org/sonar/batch/logback.xml
+++ b/sonar-batch/src/main/resources/org/sonar/batch/logback.xml
@@ -35,10 +35,14 @@
<level value="WARN"/>
</logger>
+ <!-- BeanUtils generate to many DEBUG logs when sonar.verbose is set -->
+ <logger name="org.apache.commons.beanutils.converters">
+ <level value="WARN"/>
+ </logger>
<root>
<level value="${ROOT_LOGGER_LEVEL}"/>
<appender-ref ref="STDOUT"/>
</root>
-
+
</configuration> \ No newline at end of file