Fixing dockerFile
[ccsdk/cds.git] / ms / blueprintsprocessor / application / src / test / resources / logback-test.xml
1 <!--
2   ~ Copyright © 2017-2018 AT&T Intellectual Property.
3   ~ Modifications Copyright (C) 2019 Nordix Foundation.
4   ~
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
8   ~
9   ~     http://www.apache.org/licenses/LICENSE-2.0
10   ~
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.
16   -->
17
18 <configuration>
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>
22         </discriminator>
23         <sift>
24             <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
25                 <encoder>
26                     <pattern>%${color}(%d{HH:mm:ss.SSS}|%X{RequestID}|%X{InvocationID}| %-5level %-40.40logger{39} : %msg%n)</pattern>
27                 </encoder>
28             </appender>
29         </sift>
30     </appender>
31
32     <logger name="org.springframework.web.HttpLogging" level="debug"/>
33     <logger name="org.springframework.web.reactive.function.client.ExchangeFunctions" level="debug"/>
34
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"/>
38
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="debug"/>
43
44     <logger name="org.apache.http" level="debug"/>
45     <logger name="org.apache.http.wire" level="error"/>
46
47     <root level="info">
48         <appender-ref ref="SIFT"/>
49     </root>
50
51 </configuration>