blob: d1596cd37476f00737a5f403b218c64892103f56 [file] [log] [blame]
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -04001<configuration>
Smokowski, Steve (ss835w)b92b1f82018-08-30 19:06:46 -04002 <property name="p_tim" value="%d{&quot;yyyy-MM-dd'T'HH:mm:ss.SSSXXX&quot;, UTC}"/>
3 <property name="p_lvl" value="%level"/>
4 <property name="p_log" value="%logger"/>
5 <property name="p_mdc" value="%replace(%replace(%mdc){'\t','\\\\t'}){'\n', '\\\\n'}"/>
6 <property name="p_msg" value="%replace(%replace(%msg){'\t', '\\\\t'}){'\n','\\\\n'}"/>
7 <property name="p_exc" value="%replace(%replace(%rootException){'\t', '\\\\t'}){'\n','\\\\n'}"/>
8 <property name="p_mak" value="%replace(%replace(%marker){'\t', '\\\\t'}){'\n','\\\\n'}"/>
9 <property name="p_thr" value="%thread"/>
10 <property name="pattern" 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"/>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040011
12
Smokowski, Steve (ss835w)b92b1f82018-08-30 19:06:46 -040013 <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
14 <encoder>
15 <pattern>${pattern}</pattern>
16 </encoder>
17 </appender>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040018
Smokowski, Steve (ss835w)b92b1f82018-08-30 19:06:46 -040019 <appender name="test"
20 class="org.onap.so.adapters.requestsdb.application.TestAppender" />
21
22 <logger name="com.att.ecomp.audit" level="info" additivity="false">
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040023 <appender-ref ref="STDOUT" />
24 </logger>
Smokowski, Steve (ss835w)b92b1f82018-08-30 19:06:46 -040025
26 <logger name="com.att.eelf.metrics" level="info" additivity="false">
27 <appender-ref ref="STDOUT" />
28 </logger>
29
30 <logger name="com.att.eelf.error" level="WARN" additivity="false">
31 <appender-ref ref="STDOUT" />
32 </logger>
33
34 <logger name="org.onap" level="${so.log.level:-DEBUG}" additivity="false">
35 <appender-ref ref="STDOUT" />
36 <appender-ref ref="test" />
37 </logger>
38
39 <logger name="org.flywaydb" level="DEBUG" additivity="false">
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040040 <appender-ref ref="STDOUT" />
41 </logger>
Smokowski, Steve (ss835w)b92b1f82018-08-30 19:06:46 -040042
43
44 <logger name="ch.vorburger" level="WARN" additivity="false">
45 <appender-ref ref="STDOUT" />
46 </logger>
47
48
49 <root level="WARN">
50 <appender-ref ref="STDOUT" />
51 <appender-ref ref="test" />
52 </root>
53
54
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040055</configuration>