086cc5356cb6fc4ef987b525ac15e5e93f076561
[clamp.git] / src / main / resources / logback.xml
1 <configuration scan="true" scanPeriod="60 seconds"
2         debug="true">
3         <springProperty name="logbackFilePath"
4                 source="clamp.config.logback.path" />
5         <springProperty name="logbackFileName"
6                 source="clamp.config.logback.filename" />
7         <springProperty name="logDirectory"
8                 source="clamp.config.log.path" />
9                 
10         <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>
20
21
22 </configuration>