1 <?xml version="1.0" encoding="UTF-8"?>
3 ============LICENSE_START=======================================================
4 Copyright (C) 2016-2018 Ericsson. All rights reserved.
5 Modifications Copyright (C) 2020 Nordix Foundation.
6 ================================================================================
7 Licensed under the Apache License, Version 2.0 (the "License");
8 you may not use this file except in compliance with the License.
9 You may obtain a copy of the License at
11 http://www.apache.org/licenses/LICENSE-2.0
13 Unless required by applicable law or agreed to in writing, software
14 distributed under the License is distributed on an "AS IS" BASIS,
15 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 See the License for the specific language governing permissions and
17 limitations under the License.
19 SPDX-License-Identifier: Apache-2.0
20 ============LICENSE_END=========================================================
25 <contextName>PolicyModels</contextName>
26 <statusListener class="ch.qos.logback.core.status.OnConsoleStatusListener" />
27 <property name="LOG_DIR" value="${java.io.tmpdir}/pf_logging/" />
29 <!-- USE FOR STD OUTPUT ONLY -->
30 <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
32 <Pattern>%d %contextName [%t] %level %logger{36} - %msg%n</Pattern>
37 <appender-ref ref="STDOUT" />
40 <appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
41 <file>${LOG_DIR}/policy-models.log</file>
43 <pattern>%d %-5relative [procId=${processId}] [%thread] %-5level
44 %logger{26} - %msg %n %ex{full}</pattern>
48 <logger name="org.onap.policy" level="info" additivity="false">
49 <appender-ref ref="STDOUT" />