<?xml version="1.0" encoding="UTF-8"?>
<!--  OMEROClient Log Service Configuration File -->
<configuration>
  <appender name="BASE" class="ch.qos.logback.core.rolling.RollingFileAppender">
    <!-- The log directory and log file are specified in container.xml
         and then set programmatically. This entry is just a placeholder.
         Don't edit this. -->
    <File>${logFileName}</File>
    <encoder>
      <pattern>%d{ISO8601} %-5p [%40.40logger{40}] \(%10.10t\) %msg %n</pattern>
    </encoder>
    <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">
      <maxIndex>10</maxIndex>
      <FileNamePattern>${logFileName}.%i</FileNamePattern>
    </rollingPolicy>
    <triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">
      <MaxFileSize>10MB</MaxFileSize>
    </triggeringPolicy>
  </appender>
  <logger name="ome.formats" level="INFO"/>
  <logger name="ome.client" level="WARN"/>
  <logger name="org.apache" level="WARN"/>
  <logger name="org.springframework" level="WARN"/>
  <logger name="loci" level="INFO"/>
  <logger name="ome.system" level="WARN"/>
  <root level="debug">
    <appender-ref ref="BASE"/>
  </root>
</configuration>
