blob: ffa497f1d5a4bd9bd5c47dbb91b60730e9c2bafb [file] [log] [blame]
JulienBef3630f92020-03-26 12:27:36 +01001<configuration debug="true">
Determe, Sebastien (sd378r)499e4e82018-08-09 17:14:09 +02002 <springProperty name="logbackFilePath"
sebdetf1177562018-09-03 11:23:13 +02003 source="clamp.config.logback.path" />
Determe, Sebastien (sd378r)499e4e82018-08-09 17:14:09 +02004 <springProperty name="logbackFileName"
sebdetf1177562018-09-03 11:23:13 +02005 source="clamp.config.logback.filename" />
Determe, Sebastien (sd378r)499e4e82018-08-09 17:14:09 +02006 <springProperty name="logDirectory"
7 source="clamp.config.log.path" />
Determe, Sebastien (sd378r)5f0757a2018-04-27 14:38:45 +02008
Determe, Sebastien (sd378r)499e4e82018-08-09 17:14:09 +02009 <if condition='isNull("logbackFilePath")'>
10 <then>
11 <!-- Classpath case -->
12 <include resource="${logbackFileName}" />
13 </then>
14 <else>
15 <!-- File system case -->
16 <include file="${logbackFilePath}/${logbackFileName}" />
17 </else>
18 </if>
Determe, Sebastien (sd378r)e63aa2e2017-08-08 03:13:42 -070019</configuration>