aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/src/main/resources/logback-spring.xml
blob: e7b67473ceed62eab00c71c90939f29ce9e6dcf9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<configuration 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>