aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-batch/src/main/resources
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2012-07-17 18:50:33 +0200
committerSimon Brandhof <simon.brandhof@gmail.com>2012-07-17 18:50:42 +0200
commitd3d7f253ecd6bb7cfa61e1e8d8fce10a7371e096 (patch)
tree24833f50d514650e6dd24a0b7fc9c48648034f6c /sonar-batch/src/main/resources
parent6e54f5c0324812617a962c1835e7710022488985 (diff)
downloadsonarqube-d3d7f253ecd6bb7cfa61e1e8d8fce10a7371e096.tar.gz
sonarqube-d3d7f253ecd6bb7cfa61e1e8d8fce10a7371e096.zip
Fix sonar.showSql
Diffstat (limited to 'sonar-batch/src/main/resources')
-rw-r--r--sonar-batch/src/main/resources/org/sonar/batch/bootstrapper/logback.xml15
-rw-r--r--sonar-batch/src/main/resources/org/sonar/batch/logback.xml5
2 files changed, 15 insertions, 5 deletions
diff --git a/sonar-batch/src/main/resources/org/sonar/batch/bootstrapper/logback.xml b/sonar-batch/src/main/resources/org/sonar/batch/bootstrapper/logback.xml
index 12a7e1db673..eb3084afa54 100644
--- a/sonar-batch/src/main/resources/org/sonar/batch/bootstrapper/logback.xml
+++ b/sonar-batch/src/main/resources/org/sonar/batch/bootstrapper/logback.xml
@@ -39,13 +39,22 @@
</logger>
<!-- sonar.showSql -->
+ <!-- see also org.sonar.core.persistence.MyBatis#configureLogback() -->
<logger name="org.hibernate.SQL">
<level value="${SQL_LOGGER_LEVEL:-ERROR}"/>
</logger>
<logger name="org.mybatis">
- <level value="${SQL_LOGGER_LEVEL:-WARN}"/>
- </logger>
- <!-- see also org.sonar.core.persistence.MyBatis#configureLogback() -->
+ <level value="${SQL_LOGGER_LEVEL:-WARN}"/>
+ </logger>
+ <logger name="org.apache.ibatis">
+ <level value="${SQL_LOGGER_LEVEL:-WARN}"/>
+ </logger>
+ <logger name="java.sql">
+ <level value="${SQL_LOGGER_LEVEL:-WARN}"/>
+ </logger>
+ <logger name="java.sql.ResultSet">
+ <level value="${SQL_RESULTS_LOGGER_LEVEL:-WARN}"/>
+ </logger>
<root>
<!-- sonar.verbose -->
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 4171dcb6e34..1dba6b7f3cc 100644
--- a/sonar-batch/src/main/resources/org/sonar/batch/logback.xml
+++ b/sonar-batch/src/main/resources/org/sonar/batch/logback.xml
@@ -35,6 +35,7 @@
</logger>
<!-- sonar.showSql -->
+ <!-- see also org.sonar.core.persistence.MyBatis#configureLogback() -->
<logger name="org.hibernate.SQL">
<level value="${SQL_LOGGER_LEVEL:-ERROR}"/>
</logger>
@@ -42,8 +43,8 @@
<level value="${SQL_LOGGER_LEVEL:-WARN}"/>
</logger>
<logger name="org.mybatis">
- <level value="${SQL_LOGGER_LEVEL:-WARN}"/>
- </logger>
+ <level value="${SQL_LOGGER_LEVEL:-WARN}"/>
+ </logger>
<logger name="java.sql">
<level value="${SQL_LOGGER_LEVEL:-WARN}"/>
</logger>