Seshu-Kumar-M | f869608 | 2017-10-11 20:39:35 +0800 | [diff] [blame] | 1 | <!-- ============LICENSE_START======================================================= |
| 2 | ONAP SO ================================================================================ |
| 3 | Copyright (C) 2017 Huawei Intellectual Property. All rights reserved. ================================================================================ |
| 4 | Licensed under the Apache License, Version 2.0 (the "License"); you may not |
| 5 | use this file except in compliance with the License. You may obtain a copy |
| 6 | of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required |
| 7 | by applicable law or agreed to in writing, software distributed under the |
| 8 | License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS |
| 9 | OF ANY KIND, either express or implied. See the License for the specific |
| 10 | language governing permissions and limitations under the License. ============LICENSE_END========================================================= --> |
c00149107 | 26b7c9d | 2017-08-31 14:27:38 +0800 | [diff] [blame] | 11 | |
Seshu-Kumar-M | f869608 | 2017-10-11 20:39:35 +0800 | [diff] [blame] | 12 | <configuration> |
c00149107 | 26b7c9d | 2017-08-31 14:27:38 +0800 | [diff] [blame] | 13 | |
| 14 | |
Seshu-Kumar-M | f869608 | 2017-10-11 20:39:35 +0800 | [diff] [blame] | 15 | <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> |
| 16 | <encoder> |
| 17 | <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> |
| 18 | </encoder> |
| 19 | </appender> |
c00149107 | 26b7c9d | 2017-08-31 14:27:38 +0800 | [diff] [blame] | 20 | |
c00149107 | 26b7c9d | 2017-08-31 14:27:38 +0800 | [diff] [blame] | 21 | |
Seshu-Kumar-M | f869608 | 2017-10-11 20:39:35 +0800 | [diff] [blame] | 22 | <logger name="com.att.eelf.audit" level="info" additivity="false"> |
| 23 | <appender-ref ref="STDOUT" /> |
| 24 | </logger> |
| 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="trace" additivity="false"> |
| 31 | <appender-ref ref="STDOUT" /> |
| 32 | </logger> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 33 | <logger name="org.onap" level="${so.log.level:-DEBUG}" |
| 34 | additivity="false"> |
| 35 | <appender-ref ref="STDOUT" /> |
| 36 | </logger> |
Seshu-Kumar-M | f869608 | 2017-10-11 20:39:35 +0800 | [diff] [blame] | 37 | <root level="info"> |
| 38 | <appender-ref ref="STDOUT" /> |
| 39 | </root> |
| 40 | |
c00149107 | 26b7c9d | 2017-08-31 14:27:38 +0800 | [diff] [blame] | 41 | |
| 42 | </configuration> |