oc.credible-doc-generator.1.0.43.source-code.logback.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of credible-doc-generator Show documentation
Show all versions of credible-doc-generator Show documentation
This module generates documentation
for the https://github.com/credibledoc/credible-doc repository projects.
See description on the https://github.com/credibledoc/credible-doc page.
<?xml version="1.0" encoding="UTF-8"?> <configuration> <property name="LINE_PATTERN" value="%d{dd.MM.yyyy HH:mm:ss.SSS}|%t|%-5p|%c - %m%n" /> <property name="LOG_FILE_PREFIX" value="log/credible-doc-generator" /> <property name="LOG_FILE_EXTENSION" value="log" /> <property name="COMMON_LEVEL" value="TRACE" /> <appender name="console" class="ch.qos.logback.core.ConsoleAppender"> <encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder"> <charset class="java.nio.charset.Charset">UTF-8</charset> <pattern>${LINE_PATTERN}</pattern> </encoder> <filter class="ch.qos.logback.classic.filter.ThresholdFilter"> <level>${COMMON_LEVEL}</level> </filter> </appender> <!-- Rolls over on startup, see the triggeringPolicy tag. --> <appender name="startup-rolling-file-appender" class="ch.qos.logback.core.rolling.RollingFileAppender"> <file>${LOG_FILE_PREFIX}.${LOG_FILE_EXTENSION}</file> <encoder> <pattern>${LINE_PATTERN}</pattern> </encoder> <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy"> <fileNamePattern>${LOG_FILE_PREFIX}_%i.${LOG_FILE_EXTENSION}</fileNamePattern> <minIndex>1</minIndex> <maxIndex>5</maxIndex> </rollingPolicy> <triggeringPolicy class="com.credibledoc.substitution.reporting.logback.StartupTriggeringPolicy" /> </appender> <logger name="org.springframework" level="WARN"/> <logger name="com.credibledoc.plantuml.svggenerator" level="DEBUG"/> <root level="${COMMON_LEVEL}"> <appender-ref ref="console"/> <appender-ref ref="startup-rolling-file-appender"/> </root> </configuration>