2 ~ Copyright © 2017-2018 AT&T Intellectual Property.
3 ~ Modifications Copyright (C) 2019 Nordix Foundation.
5 ~ Licensed under the Apache License, Version 2.0 (the "License");
6 ~ you may not use this file except in compliance with the License.
7 ~ You may obtain a copy of the License at
9 ~ http://www.apache.org/licenses/LICENSE-2.0
11 ~ Unless required by applicable law or agreed to in writing, software
12 ~ distributed under the License is distributed on an "AS IS" BASIS,
13 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 ~ See the License for the specific language governing permissions and
15 ~ limitations under the License.
19 <appender name="SIFT" class="ch.qos.logback.classic.sift.SiftingAppender">
20 <discriminator class="org.onap.ccsdk.cds.blueprintsprocessor.uat.logging.SmartColorDiscriminator">
21 <defaultValue>white</defaultValue>
24 <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
26 <pattern>%${color}(%d{HH:mm:ss.SSS}|%X{RequestID}|%X{InvocationID}| %-5level %-40.40logger{39} : %msg%n)</pattern>
32 <logger name="org.springframework.web.HttpLogging" level="trace"/>
33 <logger name="org.springframework.web.reactive.function.client.ExchangeFunctions" level="trace"/>
35 <!-- Helpful to optimize Spring Context caching to speed-up tests
36 and prevent resorting to @DirtiesContext as much as possible -->
37 <logger name="org.springframework.test.context.cache" level="debug"/>
39 <!-- Please refer to https://thoughts-on-java.org/hibernate-logging-guide/
40 for a lengthy discussion on good Hibernate logging practices -->
41 <logger name="org.hibernate.SQL" level="debug"/>
42 <logger name="org.hibernate.type.descriptor.sql" level="trace"/>
44 <logger name="org.apache.http" level="debug"/>
45 <logger name="org.apache.http.wire" level="error"/>
48 <appender-ref ref="SIFT"/>