All Downloads are FREE. Search and download functionalities are using the official Maven repository.

eline.assembly.1.14.20.source-code.logback.xml Maven / Gradle / Ivy

The newest version!
<configuration debug="false">

  <appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
    <filter class="org.daisy.pipeline.logging.OSGIFilter"/>
    <file>${org.daisy.pipeline.logdir}/daisy-pipeline.log</file>
    <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">
      <fileNamePattern>${org.daisy.pipeline.logdir}/daisy-pipeline.%i.log.zip</fileNamePattern>
      <minIndex>1</minIndex>
      <maxIndex>4</maxIndex>
    </rollingPolicy>
    <triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">
      <maxFileSize>10MB</maxFileSize>
    </triggeringPolicy>
    <encoder>
      <Pattern>%date [%-5level] %logger{36} - %msg%n</Pattern>
    </encoder>
  </appender>

  <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
    <filter class="org.daisy.pipeline.logging.OSGIFilter"/>
    <encoder>
      <Pattern>%-5level %marker [%40.40logger{40}] %msg   @%class{36}:%L#%M%n</Pattern>
    </encoder>
  </appender>

  <include resource="org/daisy/pipeline/logging/jul-to-slf4j.xml"/>
  <include resource="org/daisy/pipeline/logging/appenders.xml">
    <!-- JOB and JOB_FILE appenders-->
  </include>

  <root level="DEBUG">
    <appender-ref ref="FILE"/>
    <!-- <appender-ref ref="STDOUT"/> -->
    <appender-ref ref="JOB_FILE"/>
    <appender-ref ref="JOB"/>
  </root>
  <logger name="com.xmlcalabash" level="INFO"/>
  <logger name="org.eclipse.jetty.util.log" level="INFO" />
  <logger name="cz.vutbr.web" level="WARN"/>
  <logger name="org.daisy.braille.css" level="WARN"/>

</configuration>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy