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

    <appender name="stdout" class="ch.qos.logback.core.ConsoleAppender">
        <encoder charset="UTF-8">
            <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
        </encoder>
    </appender>

    <logger name="console-log" level="INFO" additivity="false">
        <appender-ref ref="stdout"/>
    </logger>

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

    </appender>

    <root level="INFO">
<!--        <appender-ref ref="cat"/>-->
        <appender-ref ref="stdout"/>
    </root>

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

</configuration>