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

anorm.codegen-maven-plugin.1.2.source-code.tp-logback-test.xml Maven / Gradle / Ivy

The newest version!
<configuration scan="true" scanPeriod="10 seconds">
  <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
    <filter class="ch.qos.logback.classic.filter.ThresholdFilter">
      <level>TRACE</level>
    </filter>
    <encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
      <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
    </encoder>
  </appender>

  <appender name="APPLICATION" class="ch.qos.logback.core.rolling.RollingFileAppender">
    <File>log/application.log</File>
    <filter class="ch.qos.logback.classic.filter.ThresholdFilter">
      <level>TRACE</level>
    </filter>
    <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
      <FileNamePattern>log/application.log.%d{yyyy-MM-dd}</FileNamePattern>
      <MaxHistory>90</MaxHistory>
    </rollingPolicy>
    <encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
      <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
    </encoder>
  </appender>

  <root level="WARN">
    <appender-ref ref="APPLICATION"/>
    <appender-ref ref="STDOUT"/>
  </root>


  <logger name="com.avaje.ebean" level="INFO"/>
  <logger name="org.avaje.ebean" level="INFO"/>

  <!-- sql and transaction logging -->
  <logger name="org.avaje.ebean.SQL" level="TRACE"/>
  <logger name="org.avaje.ebean.TXN" level="TRACE"/>
  <logger name="org.avaje.ebean.SUM" level="TRACE"/>

  <!-- l2 cache logging -->
  <logger name="org.avaje.ebean.cache.QUERY" level="TRACE"/>
  <logger name="org.avaje.ebean.cache.BEAN" level="TRACE"/>
  <logger name="org.avaje.ebean.cache.COLL" level="TRACE"/>
  <logger name="org.avaje.ebean.cache.NATKEY" level="TRACE"/>

  <!-- elasticSearch query logging -->
  <!--<logger name="org.avaje.ebean.ELA" level="TRACE"/>-->

</configuration>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy