<configuration debug="false">

    <shutdownHook class="ch.qos.logback.core.hook.DelayingShutdownHook"/>   <!-- Default delay: 0ms (zero) -->

<!--    <Appenders>-->
        <appender name="RollingFile" class="ch.qos.logback.core.rolling.RollingFileAppender">
            <file>logs/ValidationEngine.log</file>

            <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">
                <fileNamePattern>logs/ValidationEngine.%i.log.zip</fileNamePattern>
                <minIndex>1</minIndex>
                <maxIndex>20</maxIndex>
            </rollingPolicy>

            <triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">
                <maxFileSize>50MB</maxFileSize>  <!-- Lower the size to check the "RollingFileAppender" during tests. -->
            </triggeringPolicy>
            <encoder>
                <charset>UTF-8</charset>
                <pattern>%d{yyyy-MM-dd HH:mm:ss.SSS z} [%thread] %-5level %logger{36}.%M\(@%line\) - %msg%n</pattern>
            </encoder>
        </appender>

        <appender name="Console" class="ch.qos.logback.core.ConsoleAppender">
            <encoder>
                <charset>UTF-8</charset>
                <pattern>%d{yyyy-MM-dd HH:mm:ss.SSS z} [%thread] %highlight(%-5level) %cyan(%logger{36}.%M\(@%line\)) - %msg%n</pattern>
            </encoder>
        </appender>
<!--    </Appenders>-->

<!--    <Loggers>-->
        <root level="debug">
            <appender-ref ref="Console" />
        </root>

        <logger name="eu.dnetlib.validator2" level="debug"/>

<!--    </Loggers>-->

</configuration>