aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-batch
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2011-10-18 13:33:56 +0200
committerSimon Brandhof <simon.brandhof@gmail.com>2011-10-18 13:34:05 +0200
commit732cc8880bd4ac885656eda4ff5398471edadaef (patch)
treed4027f4c698fa44363bb38dc50227120d20127d2 /sonar-batch
parent2d16ac25ae60423cd9d1297650c8f88f3dcf654b (diff)
downloadsonarqube-732cc8880bd4ac885656eda4ff5398471edadaef.tar.gz
sonarqube-732cc8880bd4ac885656eda4ff5398471edadaef.zip
Fix config of Hibernate logs on batch side
Diffstat (limited to 'sonar-batch')
-rw-r--r--sonar-batch/src/main/resources/org/sonar/batch/logback.xml18
1 files changed, 8 insertions, 10 deletions
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 702b1381ce3..b016bf15c23 100644
--- a/sonar-batch/src/main/resources/org/sonar/batch/logback.xml
+++ b/sonar-batch/src/main/resources/org/sonar/batch/logback.xml
@@ -11,15 +11,6 @@
</encoder>
</appender>
- <logger name="org.hibernate">
- <level value="WARN"/>
- </logger>
-
- <!-- set DEBUG to activate SQL logs. NOT RECOMMENDED -->
- <logger name="org.hibernate.SQL">
- <level value="ERROR"/>
- </logger>
-
<!-- set INFO to activate SQL statistics. NOT RECOMMENDED -->
<logger name="org.sonar.DBSTATISTICS">
<level value="ERROR"/>
@@ -28,7 +19,6 @@
<logger name="net.sf.ehcache">
<level value="WARN"/>
</logger>
-
<logger name="org.hibernate.cache.ReadWriteCache">
<!-- removing "An item was expired by the cache while it was locked (increase your cache timeout)" msg -->
<level value="ERROR"/>
@@ -37,6 +27,14 @@
<!-- removing "org.hibernate.cache.EhCacheProvider - Could not find configuratio)" message -->
<level value="ERROR"/>
</logger>
+ <!-- set DEBUG to activate SQL logs. NOT RECOMMENDED -->
+ <logger name="org.hibernate.SQL">
+ <level value="ERROR"/>
+ </logger>
+ <logger name="org.hibernate">
+ <level value="WARN"/>
+ </logger>
+
<root>
<level value="${ROOT_LOGGER_LEVEL}"/>