aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/resources/logback-spring.xml
blob: ffa497f1d5a4bd9bd5c47dbb91b60730e9c2bafb (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>