blob: 0a75e60f5d543e08259dcdf1fcede41bafa64fd8 [file] [log] [blame]
Singal, Kapil (ks220y)aa748652018-08-09 20:47:29 +00001<!--
2 ~ Copyright © 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>
Muthuramalingam, Brinda Santh(bs2796)74a62be2018-09-03 00:50:25 +000018
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
Singal, Kapil (ks220y)aa748652018-08-09 20:47:29 +000025 <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>
Muthuramalingam, Brinda Santh(bs2796)74a62be2018-09-03 00:50:25 +000029 <pattern>${defaultPattern}</pattern>
Singal, Kapil (ks220y)aa748652018-08-09 20:47:29 +000030 </encoder>
31 </appender>
32
33
34 <logger name="org.springframework" level="info"/>
Muthuramalingam, Brinda Santh(bs2796)3b9a2602018-08-17 19:45:00 +000035 <logger name="org.springframework.web" level="info"/>
Singal, Kapil (ks220y)aa748652018-08-09 20:47:29 +000036 <logger name="org.hibernate" level="error"/>
Muthuramalingam, Brinda Santh(bs2796)3b9a2602018-08-17 19:45:00 +000037 <logger name="org.onap.ccsdk.apps" level="info"/>
Singal, Kapil (ks220y)aa748652018-08-09 20:47:29 +000038
39 <root level="warn">
40 <appender-ref ref="STDOUT"/>
41 </root>
42
43</configuration>