Mike Elliott | 37cae25 | 2018-09-12 14:45:40 -0400 | [diff] [blame] | 1 | <!-- |
| 2 | ~ Copyright (c) 2017-2018 AT&T Intellectual Property. |
| 3 | ~ |
| 4 | ~ Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | ~ you may not use this file except in compliance with the License. |
| 6 | ~ You may obtain a copy of the License at |
| 7 | ~ |
| 8 | ~ http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | ~ |
| 10 | ~ Unless required by applicable law or agreed to in writing, software |
| 11 | ~ distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | ~ See the License for the specific language governing permissions and |
| 14 | ~ limitations under the License. |
| 15 | --> |
| 16 | |
| 17 | <configuration> |
| 18 | |
| 19 | <property name="localPattern" value="%d{HH:mm:ss.SSS} %-5level %logger{100} - %msg%n" /> |
| 20 | |
| 21 | <property name="defaultPattern" value="%date{ISO8601,UTC}|%X{RequestID}|%X{ServiceInstanceId}|%thread|%X{VirtualServerName}|%X{ServiceName}|%X{InstanceUUID}|%.-5level|%X{AlertSeverity}|%X{ServerIPAddress}|%X{ServerFQDN}|%X{RemoteHost}|%X{ClassName}|%X{Timer}| %msg%n" /> |
| 22 | |
| 23 | <property name="debugLoggerPattern" value="%date{ISO8601,UTC}|%X{RequestID}|%X{ServiceInstanceId}|%thread|%X{VirtualServerName}|%X{ServiceName}|%X{InstanceUUID}|%.-5level|%X{AlertSeverity}|%X{ServerIPAddress}|%X{ServerFQDN}|%X{RemoteHost}|%X{ClassName}|%X{Timer}|[%caller{3}]| %msg%n" /> |
| 24 | |
| 25 | <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> |
| 26 | <!-- encoders are assigned the type |
| 27 | ch.qos.logback.classic.encoder.PatternLayoutEncoder by default --> |
| 28 | <encoder> |
| 29 | <pattern>${defaultPattern}</pattern> |
| 30 | </encoder> |
| 31 | </appender> |
| 32 | |
Mike Elliott | 37cae25 | 2018-09-12 14:45:40 -0400 | [diff] [blame] | 33 | <logger name="org.springframework" level="info"/> |
| 34 | <logger name="org.springframework.web" level="info"/> |
Alexis de Talhouët | 43c67e0 | 2018-09-20 16:49:16 -0400 | [diff] [blame] | 35 | <logger name="org.springframework.security.web.authentication" level="warn"/> |
Mike Elliott | 37cae25 | 2018-09-12 14:45:40 -0400 | [diff] [blame] | 36 | <logger name="org.hibernate" level="error"/> |
prathamesh morde | 2c2280f | 2019-04-25 12:29:20 -0400 | [diff] [blame] | 37 | <logger name="org.onap.ccsdk.cds" level="info"/> |
Mike Elliott | 37cae25 | 2018-09-12 14:45:40 -0400 | [diff] [blame] | 38 | |
| 39 | <root level="warn"> |
| 40 | <appender-ref ref="STDOUT"/> |
| 41 | </root> |
| 42 | |
Alexis de Talhouët | 43c67e0 | 2018-09-20 16:49:16 -0400 | [diff] [blame] | 43 | </configuration> |