orldpainter.WPGUI.2.21.1.source-code.logback-main.xml Maven / Gradle / Ivy
<configuration> <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> <encoder> <pattern>[%d] {%-6p} \(%30c{30}\) %m%n%ex</pattern> </encoder> </appender> <appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender"> <file>${org.pepsoft.worldpainter.configDir}/logfile0.txt</file> <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy"> <fileNamePattern>${org.pepsoft.worldpainter.configDir}/logfile0.txt.%i</fileNamePattern> <minIndex>1</minIndex> <maxIndex>1</maxIndex> </rollingPolicy> <triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"/> <encoder> <pattern>[%d] {%-6p} \(%30c{30}\) %m%n%ex</pattern> </encoder> </appender> <root level="INFO"> <appender-ref ref="STDOUT"/> <appender-ref ref="FILE"/> </root> <logger name="org.pepsoft" level="${org.pepsoft.worldpainter.logLevel}"/> <contextListener class="ch.qos.logback.classic.jul.LevelChangePropagator"/> </configuration>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy