aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-maven3-plugin/src/main/resources/org/sonar/maven3/logback.xml
blob: a36ca3cddde992d49faf621d1181445d4d87afa5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<?xml version="1.0" encoding="UTF-8" ?>
<configuration debug="false">

  <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
    <encoder>
      <pattern>[%level] [%d{HH:mm:ss.SSS}] %logger %msg%n</pattern>
    </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>

  <!-- BeanUtils generate to many DEBUG logs when sonar.verbose is set -->
  <logger name="org.apache.commons.beanutils.converters">
    <level value="WARN"/>
  </logger>

  <!-- set INFO to activate SQL statistics. NOT RECOMMENDED  -->
  <logger name="org.sonar.DBSTATISTICS">
    <level value="ERROR"/>
  </logger>

  <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"/>
  </logger>
  <logger name="org.hibernate.cache.EhCacheProvider">
    <!-- removing "org.hibernate.cache.EhCacheProvider - Could not find configuratio)" message -->
    <level value="ERROR"/>
  </logger>

  <root>
    <level value="${ROOT_LOGGER_LEVEL}"/>
    <appender-ref ref="STDOUT"/>
  </root>

</configuration>