aboutsummaryrefslogtreecommitdiffstats
path: root/event-client-dmaap/src/main/resources/logback.xml
blob: 5e5234c186bb8215d70903fd55014cdfb0286f79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<configuration>
	<property name="logDirectory" value="logs/" />

	<appender name="event-bus-client" class="ch.qos.logback.core.rolling.RollingFileAppender">
		<File>${logDirectory}/application.log</File>
		<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
			<fileNamePattern>${logDirectory}/application.log.%d{yyyy-MM-dd}</fileNamePattern>
		</rollingPolicy>
		<encoder>
			<pattern>%d %-5level %logger{36} - %msg%n</pattern>
		</encoder>
	</appender>
	
	<logger name="com.att.eelf" level="INFO" additivity="false">
		<appender-ref ref="event-bus-client"/>
	</logger>
	
	<!-- DEBUG < INFO <  WARN < ERROR -->
	<logger name="event-bus-client" level="INFO" additivity="false">
		<appender-ref ref="event-bus-client"/>
	</logger>
	
	<root level="INFO">
		<appender-ref ref="event-bus-client"/>
	</root>
	
</configuration>