[DCAEMOD] Uses new tpls for repos / images
[oom.git] / kubernetes / cds / components / cds-sdc-listener / resources / config / logback.xml
1 <!--
2   ~ Copyright (c) 2019 Bell Canada
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
33   <logger name="org.springframework" level="{{ .Values.logback.logger.springframework }}"/>
34   <logger name="org.springframework.web" level="{{ .Values.logback.logger.springframeworkWeb }}"/>
35   <logger name="org.springframework.security.web.authentication" level="{{ .Values.logback.logger.springframeworkSecurityWebauthentication }}"/>
36   <logger name="org.hibernate" level="{{ .Values.logback.logger.hibernate }}"/>
37   <logger name="org.onap.ccsdk.cds" level="{{ .Values.logback.logger.onapCcsdkCds }}"/>
38
39   <root level="{{ .Values.logback.rootLogLevel }}">
40     <appender-ref ref="STDOUT"/>
41   </root>
42
43 </configuration>