ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 1 | <!-- |
| 2 | ============LICENSE_START======================================================= |
Smokowski, Steve (ss835w) | e2c7749 | 2018-09-04 15:31:38 -0400 | [diff] [blame] | 3 | ONAP SO |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 4 | ================================================================================ |
Smokowski, Steve (ss835w) | e2c7749 | 2018-09-04 15:31:38 -0400 | [diff] [blame] | 5 | Copyright (C) 2018 AT&T Intellectual Property. All rights reserved. |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 6 | ================================================================================ |
| 7 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 8 | you may not use this file except in compliance with the License. |
| 9 | You may obtain a copy of the License at |
| 10 | |
| 11 | http://www.apache.org/licenses/LICENSE-2.0 |
| 12 | |
| 13 | Unless required by applicable law or agreed to in writing, software |
| 14 | distributed under the License is distributed on an "AS IS" BASIS, |
| 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 16 | See the License for the specific language governing permissions and |
| 17 | limitations under the License. |
| 18 | ============LICENSE_END========================================================= |
| 19 | --> |
| 20 | |
Smokowski, Steve (ss835w) | e2c7749 | 2018-09-04 15:31:38 -0400 | [diff] [blame] | 21 | <configuration> |
Benjamin, Max | a162316 | 2020-11-19 18:12:50 -0500 | [diff] [blame] | 22 | <property name="p_tim" value="%d{"yyyy-MM-dd'T'HH:mm:ss.SSSXXX", UTC}" /> |
| 23 | <property name="p_lvl" value="%level" /> |
| 24 | <property name="p_log" value="%logger" /> |
| 25 | <property name="p_mdc" value="%replace(%replace(%mdc){'\t','\\\\t'}){'\n', '\\\\n'}" /> |
| 26 | <property name="p_msg" value="%replace(%replace(%msg){'\t', '\\\\t'}){'\n','\\\\n'}" /> |
| 27 | <property name="p_exc" value="%replace(%replace(%rootException){'\t', '\\\\t'}){'\n','\\\\n'}" /> |
| 28 | <property name="p_mak" value="%replace(%replace(%marker){'\t', '\\\\t'}){'\n','\\\\n'}" /> |
| 29 | <property name="p_thr" value="%thread" /> |
| 30 | <property name="pattern" |
| 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" /> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 32 | |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 33 | |
Benjamin, Max | a162316 | 2020-11-19 18:12:50 -0500 | [diff] [blame] | 34 | <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> |
| 35 | <encoder> |
| 36 | <pattern>${pattern}</pattern> |
| 37 | </encoder> |
| 38 | </appender> |
Smokowski, Steve (ss835w) | e2c7749 | 2018-09-04 15:31:38 -0400 | [diff] [blame] | 39 | |
Benjamin, Max | a162316 | 2020-11-19 18:12:50 -0500 | [diff] [blame] | 40 | <appender name="test" class="org.onap.so.utils.TestAppender" /> |
Smokowski, Steve (ss835w) | e2c7749 | 2018-09-04 15:31:38 -0400 | [diff] [blame] | 41 | |
Benjamin, Max | a162316 | 2020-11-19 18:12:50 -0500 | [diff] [blame] | 42 | <logger name="com.att.ecomp.audit" level="info" additivity="false"> |
| 43 | <appender-ref ref="STDOUT" /> |
| 44 | </logger> |
Smokowski, Steve (ss835w) | e2c7749 | 2018-09-04 15:31:38 -0400 | [diff] [blame] | 45 | |
Benjamin, Max | a162316 | 2020-11-19 18:12:50 -0500 | [diff] [blame] | 46 | <logger name="com.att.eelf.metrics" level="info" additivity="false"> |
| 47 | <appender-ref ref="STDOUT" /> |
| 48 | </logger> |
Smokowski, Steve (ss835w) | e2c7749 | 2018-09-04 15:31:38 -0400 | [diff] [blame] | 49 | |
Benjamin, Max | a162316 | 2020-11-19 18:12:50 -0500 | [diff] [blame] | 50 | <logger name="com.att.eelf.error" level="WARN" additivity="false"> |
| 51 | <appender-ref ref="STDOUT" /> |
| 52 | </logger> |
Smokowski, Steve (ss835w) | e2c7749 | 2018-09-04 15:31:38 -0400 | [diff] [blame] | 53 | |
Benjamin, Max | a162316 | 2020-11-19 18:12:50 -0500 | [diff] [blame] | 54 | <logger name="org.onap" level="${so.log.level:-DEBUG}" additivity="false"> |
| 55 | <appender-ref ref="STDOUT" /> |
| 56 | <appender-ref ref="test" /> |
| 57 | </logger> |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 58 | |
Benjamin, Max | a162316 | 2020-11-19 18:12:50 -0500 | [diff] [blame] | 59 | <logger name="org.flywaydb" level="DEBUG" additivity="false"> |
| 60 | <appender-ref ref="STDOUT" /> |
| 61 | </logger> |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 62 | |
Benjamin, Max | a162316 | 2020-11-19 18:12:50 -0500 | [diff] [blame] | 63 | |
| 64 | <logger name="ch.vorburger" level="WARN" additivity="false"> |
| 65 | <appender-ref ref="STDOUT" /> |
| 66 | </logger> |
| 67 | |
| 68 | <logger name="org.reflections" level="ERROR" additivity="false"> |
| 69 | <appender-ref ref="STDOUT" /> |
| 70 | </logger> |
waqas.ikram | 1a031c0 | 2021-06-30 10:34:14 +0100 | [diff] [blame^] | 71 | |
| 72 | <logger name="org.reflections" level="ERROR" /> |
Benjamin, Max | a162316 | 2020-11-19 18:12:50 -0500 | [diff] [blame] | 73 | |
| 74 | <root level="WARN"> |
| 75 | <appender-ref ref="STDOUT" /> |
| 76 | <appender-ref ref="test" /> |
| 77 | </root> |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 78 | |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 79 | |
| 80 | </configuration> |