blob: 086cc5356cb6fc4ef987b525ac15e5e93f076561 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
<configuration scan="true" scanPeriod="60 seconds"
debug="true">
<springProperty name="logbackFilePath"
source="clamp.config.logback.path" />
<springProperty name="logbackFileName"
source="clamp.config.logback.filename" />
<springProperty name="logDirectory"
source="clamp.config.log.path" />
<if condition='isNull("logbackFilePath")'>
<then>
<!-- Classpath case -->
<include resource="${logbackFileName}" />
</then>
<else>
<!-- File system case -->
<include file="${logbackFilePath}/${logbackFileName}" />
</else>
</if>
</configuration>
|