summaryrefslogtreecommitdiffstats
path: root/adapters/mso-requests-db-adapter/src/test/resources/logback-test.xml
blob: a63bd2737862c2c829941c978b100ce68d8a9b29 (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<configuration>
	<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
		<encoder>
			<pattern>%d{MM/dd-HH:mm:ss.SSS}|%X{RequestId}|%X{ServiceInstanceId}|%thread|%X{ServiceName}|%X{InstanceUUID}|%.-5level|%X{AlertSeverity}||%X{ServerIPAddress}|%X{ServerFQDN}|%X{RemoteHost}||%X{Timer}|%msg%n</pattern>
		</encoder>
	</appender>

	<appender name="test"
		class="org.onap.so.adapters.requestsdb.application.TestAppender" />

	<logger name="com.att.ecomp.audit" level="info" additivity="false">
		<appender-ref ref="STDOUT" />
	</logger>

	<logger name="com.att.eelf.metrics" level="info" additivity="false">
		<appender-ref ref="STDOUT" />
	</logger>

	<logger name="com.att.eelf.error" level="WARN" additivity="false">
		<appender-ref ref="STDOUT" />
	</logger>

	<logger name="org.onap" level="${so.log.level:-DEBUG}" additivity="false">
		<appender-ref ref="STDOUT" />
		<appender-ref ref="test" />
	</logger>
	
	<logger name="org.flywaydb" level="DEBUG" additivity="false">
        <appender-ref ref="STDOUT" />
    </logger>
	

	<logger name="ch.vorburger" level="WARN" additivity="false">
		<appender-ref ref="STDOUT" />
	</logger>
  
  <logger name="org.hibernate" level="DEBUG" additivity="false">
    <appender-ref ref="STDOUT" />
  </logger>
	

	<root level="WARN">
		<appender-ref ref="STDOUT" />
		<appender-ref ref="test" />
	</root>


</configuration>