Make log level configurable with -Dlog.level, default to INFO. Thanks @pitpalme.

This commit is contained in:
Maarten Billemont 2014-08-30 15:53:13 -04:00
parent 089b795cf2
commit a0ff625af2

View file

@ -1,4 +1,4 @@
<configuration scan="true">
<configuration scan="false">
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<layout class="ch.qos.logback.classic.PatternLayout">
@ -6,7 +6,7 @@
</layout>
</appender>
<logger name="com.lyndir" level="TRACE" />
<logger name="com.lyndir" level="${log.level:-INFO}" />
<root level="INFO">
<appender-ref ref="STDOUT" />