diff options
author | Julien HENRY <julien.henry@sonarsource.com> | 2016-03-17 17:05:56 +0100 |
---|---|---|
committer | Julien HENRY <julien.henry@sonarsource.com> | 2016-03-18 09:35:05 +0100 |
commit | cfcbe278f7ced12599d898d50f3fe68bfbf95155 (patch) | |
tree | 5b4116ad08a8ba87ffc5bf9f159a431b9609b48f /sonar-scanner-engine/src/test/resources/logback-test.xml | |
parent | 38ce80934961773a9a35ec0401994b3d726597dc (diff) | |
download | sonarqube-cfcbe278f7ced12599d898d50f3fe68bfbf95155.tar.gz sonarqube-cfcbe278f7ced12599d898d50f3fe68bfbf95155.zip |
Rename batch into scanner
Diffstat (limited to 'sonar-scanner-engine/src/test/resources/logback-test.xml')
-rw-r--r-- | sonar-scanner-engine/src/test/resources/logback-test.xml | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/sonar-scanner-engine/src/test/resources/logback-test.xml b/sonar-scanner-engine/src/test/resources/logback-test.xml new file mode 100644 index 00000000000..da6be3344a2 --- /dev/null +++ b/sonar-scanner-engine/src/test/resources/logback-test.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<configuration debug="false"> + + <!-- + ONLY FOR UNIT TESTS + --> + + <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> + <encoder> + <pattern>%d{HH:mm:ss.SSS} %-5level - %msg%n</pattern> + </encoder> + </appender> + + <!-- BeanUtils generate to many DEBUG logs when sonar.verbose is set --> + <logger name="org.apache.commons.beanutils.converters"> + <level value="WARN"/> + </logger> + + <!-- sonar.showSql --> + <!-- see also org.sonar.db.MyBatis#configureLogback() --> + <logger name="org.mybatis"> + <level value="WARN"/> + </logger> + <logger name="org.apache.ibatis"> + <level value="WARN"/> + </logger> + <logger name="java.sql"> + <level value="WARN"/> + </logger> + <logger name="java.sql.ResultSet"> + <level value="WARN"/> + </logger> + <logger name="PERSISTIT"> + <level value="WARN"/> + </logger> + + <root> + <level value="INFO"/> + <appender-ref ref="STDOUT"/> + </root> + +</configuration> |