s.codegen-maven-plugin.4.1.source-code.tp-logback-test.xml Maven / Gradle / Ivy
<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="io.ebean" level="INFO"/> <!-- sql and transaction logging --> <logger name="io.ebean.SQL" level="TRACE"/> <logger name="io.ebean.TXN" level="TRACE"/> <logger name="io.ebean.SUM" level="TRACE"/> <logger name="io.ebean.DDL" level="TRACE"/> <!-- l2 cache logging --> <logger name="io.ebean.cache.QUERY" level="TRACE"/> <logger name="io.ebean.cache.BEAN" level="TRACE"/> <logger name="io.ebean.cache.COLL" level="TRACE"/> <logger name="io.ebean.cache.NATKEY" level="TRACE"/> <!-- elasticSearch query logging --> <!--<logger name="io.ebean.ELA" level="TRACE"/>--> </configuration>