diff options
Diffstat (limited to 'sonar-server/src')
-rw-r--r-- | sonar-server/src/dev/h2/conf/logback.xml | 12 | ||||
-rw-r--r-- | sonar-server/src/dev/mysql/conf/logback.xml | 12 | ||||
-rw-r--r-- | sonar-server/src/dev/postgresql/conf/logback.xml | 12 |
3 files changed, 33 insertions, 3 deletions
diff --git a/sonar-server/src/dev/h2/conf/logback.xml b/sonar-server/src/dev/h2/conf/logback.xml index 6548deb530e..a6892222c82 100644 --- a/sonar-server/src/dev/h2/conf/logback.xml +++ b/sonar-server/src/dev/h2/conf/logback.xml @@ -9,8 +9,18 @@ </encoder> </appender> + <!-- Display SQL requests and results by setting the following loggers to level DEBUG --> <logger name="org.hibernate.SQL"> - <level value="ERROR"/> + <level value="DEBUG"/> + </logger> + <logger name="org.apache.ibatis"> + <level value="DEBUG"/> + </logger> + <logger name="java.sql"> + <level value="DEBUG"/> + </logger> + <logger name="java.sql.ResultSet"> + <level value="DEBUG"/> </logger> <logger name="org.hibernate.cache.ReadWriteCache"> diff --git a/sonar-server/src/dev/mysql/conf/logback.xml b/sonar-server/src/dev/mysql/conf/logback.xml index 6548deb530e..a6892222c82 100644 --- a/sonar-server/src/dev/mysql/conf/logback.xml +++ b/sonar-server/src/dev/mysql/conf/logback.xml @@ -9,8 +9,18 @@ </encoder> </appender> + <!-- Display SQL requests and results by setting the following loggers to level DEBUG --> <logger name="org.hibernate.SQL"> - <level value="ERROR"/> + <level value="DEBUG"/> + </logger> + <logger name="org.apache.ibatis"> + <level value="DEBUG"/> + </logger> + <logger name="java.sql"> + <level value="DEBUG"/> + </logger> + <logger name="java.sql.ResultSet"> + <level value="DEBUG"/> </logger> <logger name="org.hibernate.cache.ReadWriteCache"> diff --git a/sonar-server/src/dev/postgresql/conf/logback.xml b/sonar-server/src/dev/postgresql/conf/logback.xml index 6548deb530e..a6892222c82 100644 --- a/sonar-server/src/dev/postgresql/conf/logback.xml +++ b/sonar-server/src/dev/postgresql/conf/logback.xml @@ -9,8 +9,18 @@ </encoder> </appender> + <!-- Display SQL requests and results by setting the following loggers to level DEBUG --> <logger name="org.hibernate.SQL"> - <level value="ERROR"/> + <level value="DEBUG"/> + </logger> + <logger name="org.apache.ibatis"> + <level value="DEBUG"/> + </logger> + <logger name="java.sql"> + <level value="DEBUG"/> + </logger> + <logger name="java.sql.ResultSet"> + <level value="DEBUG"/> </logger> <logger name="org.hibernate.cache.ReadWriteCache"> |