blob: c71bcba8f47a8c7ded235b4b0e96ea9482278f48 [file] [log] [blame]
k.kedron456cf4f2019-04-30 16:37:54 +02001<!-- Empty Configuration to prevent creating log files by Units Tests (e.g LoggingUtilsTest) ! -->
sebdet5d03e8b2020-02-03 20:27:59 +01002<configuration>
3 <jmxConfigurator />
4 <!-- Example evaluator filter applied against console appender -->
5 <property
6 name="p_tim"
7 value="%d{&quot;yyyy-MM-dd'T'HH:mm:ss.SSSXXX&quot;, UTC}" />
8 <property
9 name="p_lvl"
10 value="%level" />
11 <property
12 name="p_log"
13 value="%logger" />
14 <property
15 name="p_mdc"
16 value="%replace(%replace(%mdc){'\t','\\\\t'}){'\n', '\\\\n'}" />
17 <property
18 name="p_msg"
19 value="%replace(%replace(%msg){'\t', '\\\\t'}){'\n','\\\\n'}" />
20 <property
21 name="p_exc"
22 value="%replace(%replace(%rootException){'\t', '\\\\t'}){'\n','\\\\n'}" />
23 <property
24 name="p_mak"
25 value="%replace(%replace(%marker){'\t', '\\\\t'}){'\n','\\\\n'}" />
26 <property
27 name="p_thr"
28 value="%thread" />
29 <property
30 name="defaultPattern"
31 value="%nopexception${p_tim}\t${p_thr}\t${p_lvl}\t${p_log}\t${p_mdc}\t${p_msg}\t${p_exc}\t${p_mak}\t%n" />
32 <property
33 name="debugPattern"
34 value="%nopexception${p_tim}|${p_lvl}|${p_mdc}|${p_exc}|%msg%n" />
35
36 <!-- Example evaluator filter applied against console appender -->
37 <appender
38 name="STDOUT"
39 class="ch.qos.logback.core.ConsoleAppender">
40 <filter class="ch.qos.logback.classic.filter.ThresholdFilter">
41 <level>INFO</level>
42 </filter>
43 <encoder>
44 <pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{1024} - %msg%n
45 </pattern>
46 </encoder>
47 </appender>
48 <logger
49 name="org.onap.aaf"
50 level="DEBUG">
51 <appender-ref ref="STDOUT" />
52 </logger>
53 <logger
54 name="org.apache"
55 level="DEBUG">
56 <appender-ref ref="STDOUT" />
57 </logger>
58 <!-- Spring related loggers -->
59 <logger
60 name="org.springframework"
61 level="DEBUG">
62 <appender-ref ref="STDOUT" />
63 </logger>
64
65 <!-- CLDS related loggers -->
66 <logger
67 name="org.onap.clamp"
68 level="DEBUG">
69 <appender-ref ref="STDOUT" />
70 </logger>
71
72 <!-- CLDS related loggers -->
73 <logger
74 name="com.att.eelf.error"
75 level="OFF">
76 <appender-ref ref="STDOUT" />
77 </logger>
78
79 <logger
80 name="ch.qos.logback.classic"
81 level="INFO" />
82 <logger
83 name="ch.qos.logback.core"
84 level="INFO" />
85
86 <!-- logback jms appenders & loggers definition ends here -->
87
88 <root level="DEBUG">
89 <appender-ref ref="STDOUT" />
90 </root>
91</configuration>