aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/resources/logback.xml
blob: dae39d3aca782a1906c2605deef82970bf0e87cc (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="com.att.eelf.logging.path" />
	<springProperty name="logbackFileName"
		source="com.att.eelf.logging.file" />
	<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>