Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [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 | |
| 33 | |
| 34 | <logger name="org.springframework" level="info"/> |
| 35 | <logger name="org.springframework.web" level="info"/> |
| 36 | <logger name="org.springframework.security.web.authentication" level="warn"/> |
| 37 | <logger name="org.hibernate" level="error"/> |
| 38 | <logger name="org.onap.ccsdk.apps" level="info"/> |
| 39 | |
| 40 | <root level="warn"> |
| 41 | <appender-ref ref="STDOUT"/> |
| 42 | </root> |
| 43 | |
| 44 | </configuration> |