<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <include resource="org/springframework/boot/logging/logback/base.xml"/>
    <jmxConfigurator/>
    <property name="LOG_PATH" value="logs"/>

    <appender name="stdout" class="ch.qos.logback.core.ConsoleAppender">
        <encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
            <Pattern>%date{yyyy-MM-dd HH:mm:ss.SSS} %-5level[%thread]%logger{56}.%method:%L -%msg%n</Pattern>
        </encoder>
    </appender>

    <appender name="cat" class="com.elab.log.log4j.CatLogbackLog"></appender>

    <logger name="com.elab" level="debug" additivity="false">
        <appender-ref ref="stdout"/>
        <appender-ref ref="cat"/>
    </logger>

    <logger name="org.springframework.boot" level="INFO" additivity="false">
        <appender-ref ref="stdout"/>
    </logger>


    <root level="INFO">
        <appender-ref ref="stdout"/>
        <appender-ref ref="cat"/>
    </root>
    <!--    <logger name="com.elab" level="DEBUG" />-->
</configuration>