blob: 086cc5356cb6fc4ef987b525ac15e5e93f076561 [file] [log] [blame]
Determe, Sebastien (sd378r)499e4e82018-08-09 17:14:09 +02001<configuration scan="true" scanPeriod="60 seconds"
2 debug="true">
3 <springProperty name="logbackFilePath"
sebdetf1177562018-09-03 11:23:13 +02004 source="clamp.config.logback.path" />
Determe, Sebastien (sd378r)499e4e82018-08-09 17:14:09 +02005 <springProperty name="logbackFileName"
sebdetf1177562018-09-03 11:23:13 +02006 source="clamp.config.logback.filename" />
Determe, Sebastien (sd378r)499e4e82018-08-09 17:14:09 +02007 <springProperty name="logDirectory"
8 source="clamp.config.log.path" />
Determe, Sebastien (sd378r)5f0757a2018-04-27 14:38:45 +02009
Determe, Sebastien (sd378r)499e4e82018-08-09 17:14:09 +020010 <if condition='isNull("logbackFilePath")'>
11 <then>
12 <!-- Classpath case -->
13 <include resource="${logbackFileName}" />
14 </then>
15 <else>
16 <!-- File system case -->
17 <include file="${logbackFilePath}/${logbackFileName}" />
18 </else>
19 </if>
Determe, Sebastien (sd378r)e63aa2e2017-08-08 03:13:42 -070020
Determe, Sebastien (sd378r)e63aa2e2017-08-08 03:13:42 -070021
22</configuration>