Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 1 | <configuration> |
Smokowski, Steve (ss835w) | b92b1f8 | 2018-08-30 19:06:46 -0400 | [diff] [blame] | 2 | <property name="p_tim" value="%d{"yyyy-MM-dd'T'HH:mm:ss.SSSXXX", 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) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 11 | |
| 12 | |
Smokowski, Steve (ss835w) | b92b1f8 | 2018-08-30 19:06:46 -0400 | [diff] [blame] | 13 | <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> |
| 14 | <encoder> |
| 15 | <pattern>${pattern}</pattern> |
| 16 | </encoder> |
| 17 | </appender> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 18 | |
Smokowski, Steve (ss835w) | b92b1f8 | 2018-08-30 19:06:46 -0400 | [diff] [blame] | 19 | <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) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 23 | <appender-ref ref="STDOUT" /> |
| 24 | </logger> |
Smokowski, Steve (ss835w) | b92b1f8 | 2018-08-30 19:06:46 -0400 | [diff] [blame] | 25 | |
| 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) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 40 | <appender-ref ref="STDOUT" /> |
| 41 | </logger> |
Smokowski, Steve (ss835w) | b92b1f8 | 2018-08-30 19:06:46 -0400 | [diff] [blame] | 42 | |
| 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) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 55 | </configuration> |