<?xml version="1.0" encoding="UTF-8"?>
<!--
  ~ Copyright (C) 2024 S&P Global.
  ~
  ~ All Rights Reserved
  ~
  ~ Notice: The information, data, processing technology, software (including source code),
  ~ technical and intellectual concepts and processes and all other materials provided
  ~ (collectively the "Property") are Copyright © 2020, S&P Global and/or its affiliates
  ~ (together "S&P Global") and constitute the proprietary and confidential information of
  ~ S&P Global. S&P Global reserves all rights in and to the Property. Any copying,
  ~ reproduction, distribution, transmission or disclosure of the Property, in any form, is
  ~ strictly prohibited without the prior written consent of S&P Global. Unless otherwise
  ~ agreed in writing, the Property is provided on an "as is" basis and S&P Global makes no
  ~ warranty, express or implied, as to its accuracy, completeness, timeliness, or to any
  ~ results to be obtained by recipient nor shall S&P Global in any way be liable to any
  ~ recipient for any inaccuracies, errors or omissions in the Property. Without limiting the
  ~ generality of the foregoing, S&P Global shall have no liability whatsoever to any
  ~ recipient of the Property, whether in contract, in tort (including negligence), under
  ~ warranty, under statute or otherwise, in respect of any loss or damage suffered by any
  ~ recipient as a result of or in connection with such Property, or any course of action
  ~ determined, by it or any third party, whether or not based on the Property. The S&P Global
  ~ logo is a registered trademark of S&P Global, and the trademarks of S&P Global used
  ~ herein are protected by international laws. Any other names may be trademarks of their
  ~ respective owners.
  -->
<configuration>
    <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
        <encoder>
            <pattern>%date{YYYY-MM-dd HH:mm:ss} %level [%thread] %logger{36} [%file:%line] %msg%n</pattern>
        </encoder>
    </appender>
    <appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
        <file>${MIO_LOGS}/n6exceladdin.log</file>
        <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">
            <fileNamePattern>${MIO_LOGS}/n6exceladdin.%i.log.zip</fileNamePattern>
            <minIndex>1</minIndex>
            <maxIndex>25</maxIndex>
        </rollingPolicy>
        <triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">
            <maxFileSize>10MB</maxFileSize>
        </triggeringPolicy>
        <encoder>
            <pattern>%date{YYYY-MM-dd HH:mm:ss} %level [%thread] %logger{36} [%file:%line] %msg%n</pattern>
        </encoder>
    </appender>
    <root level="DEBUG">
        <appender-ref ref="FILE"/>
       <!-- <appender-ref ref="STDOUT"/>-->
    </root>
    <!--<root level="DEBUG">
        <appender-ref ref="FILE"/>
        <appender-ref ref="STDOUT"/>
    </root>-->
</configuration>
