logback.xml 3.3 KB
<?xml version="1.0" encoding="UTF-8"?>
<configuration>

  <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
    <!-- encoders are assigned the type
         ch.qos.logback.classic.encoder.PatternLayoutEncoder by default -->
    <encoder>
      <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
    </encoder>
  </appender>

  <logger name="org.legrog" level="DEBUG"/>
  <logger name="org.legrog.web.publisher" level="TRACE"/>

  <!-- Liste incomplète pour diagnostiquer si nécessaire -->
  <logger name="org.hibernate" level="TRACE"/>
  <logger name="org.hibernate.SQL" level="WARN"/>
  <logger name="org.hibernate.annotations" level="WARN"/>
  <logger name="org.hibernate.boot" level="WARN"/>
  <logger name="org.hibernate.boot.archive" level="WARN"/>
  <logger name="org.hibernate.boot.cfgxml" level="WARN"/>
  <logger name="org.hibernate.boot.internal" level="WARN"/>
  <logger name="org.hibernate.boot.jaxb" level="WARN"/>
  <logger name="org.hibernate.boot.model" level="WARN"/>
  <logger name="org.hibernate.boot.registry" level="WARN"/>
  <logger name="org.hibernate.boot.registry.classloading" level="WARN"/>
  <logger name="org.hibernate.boot.registry.internal" level="WARN"/>
  <logger name="org.hibernate.boot.registry.selector" level="WARN"/>
  <logger name="org.hibernate.boot.spi" level="WARN"/>
  <logger name="org.hibernate.cache" level="WARN"/>
  <logger name="org.hibernate.cfg" level="WARN"/>
  <logger name="org.hibernate.cfg.Environment" level="WARN"/>
  <logger name="org.hibernate.cfg.AnnotationBinder" level="WARN"/>
  <logger name="org.hibernate.cfg.Ejb3Column" level="WARN"/>
  <logger name="org.hibernate.cfg.AbstractPropertyHolder" level="WARN"/>
  <logger name="org.hibernate.cfg.AnnotationBinder" level="WARN"/>
  <logger name="org.hibernate.cfg.CollectionSecondPass" level="WARN"/>
  <logger name="org.hibernate.cfg.Settings" level="WARN"/>
  <logger name="org.hibernate.cfg.annotations" level="WARN"/>
  <logger name="org.hibernate.cfg.beanvalidation" level="WARN"/>
  <logger name="org.hibernate.dialect" level="WARN"/>
  <logger name="org.hibernate.engine" level="WARN"/>
  <logger name="org.hibernate.event.internal" level="WARN"/>
  <logger name="org.hibernate.hql.antlr" level="WARN"/>
  <logger name="org.hibernate.hql.internal" level="WARN"/>
  <logger name="org.hibernate.id" level="WARN"/>
  <logger name="org.hibernate.integrator" level="WARN"/>
  <logger name="org.hibernate.internal" level="WARN"/>
  <logger name="org.hibernate.jpa" level="WARN"/>
  <logger name="org.hibernate.loader" level="WARN"/>
  <logger name="org.hibernate.mapping" level="WARN"/>
  <logger name="org.hibernate.persister" level="WARN"/>
  <logger name="org.hibernate.resource" level="WARN"/>
  <logger name="org.hibernate.resource.transaction.backend.jta.internal" level="WARN"/>
  <logger name="org.hibernate.resource.jdbc.internal" level="WARN"/>
  <logger name="org.hibernate.secure" level="WARN"/>
  <logger name="org.hibernate.service" level="WARN"/>
  <logger name="org.hibernate.stat.internal" level="WARN"/>
  <logger name="org.hibernate.stat.spi" level="WARN"/>
  <logger name="org.hibernate.tool" level="TRACE"/>
  <logger name="org.hibernate.type" level="WARN"/>
  <logger name="org.hibernate.validator" level="WARN"/>


  <root level="warn">
    <appender-ref ref="STDOUT" />
  </root>
</configuration>