All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.sonar.maven3.logback.xml Maven / Gradle / Ivy

There is a newer version: 5.1
Show newest version
<?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}] %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>

  <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>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy