waqas.ikram | bb89ed3 | 2018-06-18 14:04:52 +0100 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | ============LICENSE_START======================================================= |
| 4 | Copyright (C) 2016-2018 Ericsson. All rights reserved. |
| 5 | ================================================================================ |
| 6 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 7 | you may not use this file except in compliance with the License. |
| 8 | You may obtain a copy of the License at |
| 9 | |
| 10 | http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | |
| 12 | Unless required by applicable law or agreed to in writing, software |
| 13 | distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | See the License for the specific language governing permissions and |
| 16 | limitations under the License. |
| 17 | |
| 18 | SPDX-License-Identifier: Apache-2.0 |
| 19 | ============LICENSE_END========================================================= |
| 20 | --> |
| 21 | |
| 22 | <configuration debug="false"> |
| 23 | <statusListener class="ch.qos.logback.core.status.NopStatusListener" /> |
| 24 | |
| 25 | <contextName>Apex</contextName> |
| 26 | <property name="VAR_LOG" value="/var/log/onap/policy/apex-pdp/" /> |
| 27 | |
| 28 | <appender name="FILE" class="ch.qos.logback.core.FileAppender"> |
| 29 | <file>${VAR_LOG}/apex.log</file> |
| 30 | <encoder> |
| 31 | <pattern> |
| 32 | %d %-5relative [procId=${processId}] [%thread] %-5level%logger{26} - %msg %n %ex{full} |
| 33 | </pattern> |
| 34 | </encoder> |
| 35 | </appender> |
| 36 | |
| 37 | <root level="debug"> |
| 38 | <appender-ref ref="FILE" /> |
| 39 | </root> |
| 40 | |
| 41 | <logger name="org.onap.policy.apex.executionlogging" level="debug" additivity="false"> |
| 42 | <appender-ref ref="FILE" /> |
| 43 | </logger> |
| 44 | </configuration> |