er.optaplanner-examples.7.59.0.Final.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 optaplanner-examples Show documentation
Show all versions of optaplanner-examples Show documentation
OptaPlanner solves planning problems.
This lightweight, embeddable planning engine implements powerful and scalable algorithms
to optimize business resource scheduling and planning.
This module contains the examples which demonstrate how to use it in a normal Java application.
<?xml version="1.0" encoding="UTF-8"?> <configuration> <appender name="consoleAppender" class="ch.qos.logback.core.ConsoleAppender"> <encoder> <!-- %L lowers performance, %C and %c break indentation and therefore reduce readability, normal %t is verbose --> <pattern>%d{HH:mm:ss.SSS} [%-12.12t] %-5p %m%n</pattern> </encoder> </appender> <!--<appender name="fileAppender" class="ch.qos.logback.core.rolling.RollingFileAppender">--> <!--<file>local/log/optaplanner.log</file>--> <!--<rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">--> <!--<fileNamePattern>local/log/optaplanner.%i.log.zip</fileNamePattern>--> <!--<minIndex>1</minIndex>--> <!--<maxIndex>3</maxIndex>--> <!--</rollingPolicy>--> <!--<triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">--> <!--<maxFileSize>5MB</maxFileSize>--> <!--</triggeringPolicy>--> <!--<encoder>--> <!--<pattern>%d{HH:mm:ss.SSS} [%t] %-5p %m%n</pattern>--> <!--</encoder>--> <!--</appender>--> <!-- To override the debug log level from the command line, use the VM option "-Dlogback.level.org.optaplanner=trace" --> <logger name="org.optaplanner" level="${logback.level.org.optaplanner:-debug}"/> <root level="warn"> <appender-ref ref="consoleAppender" /> <!--<appender-ref ref="fileAppender" />--> </root> </configuration>