fixes #259: disable file logging by setting system property "disable-file-logging"
This commit is contained in:
@@ -42,6 +42,11 @@
|
||||
<artifactId>jargs</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.codehaus.janino</groupId>
|
||||
<artifactId>janino</artifactId>
|
||||
<version>3.1.6</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.riversun</groupId>
|
||||
<artifactId>bigdoc</artifactId>
|
||||
|
||||
@@ -24,7 +24,11 @@
|
||||
|
||||
<!-- Configure so that it outputs to both console and log file -->
|
||||
<root level="INFO">
|
||||
<if condition='!isDefined("disable-file-logging")'>
|
||||
<then>
|
||||
<appender-ref ref="FILE" />
|
||||
</then>
|
||||
</if>
|
||||
<appender-ref ref="STDERR" />
|
||||
</root>
|
||||
</configuration>
|
||||
|
||||
Reference in New Issue
Block a user