From 6eb3c7f44a64cc1aebd4bcef6b081073d91bde7b Mon Sep 17 00:00:00 2001 From: Jim Hahn Date: Tue, 12 Jun 2018 14:35:01 -0400 Subject: Use POLICY_LOGS env variable in logging.properties Some logger.properties have /var/log/onap hard-coded; changed those to use $POLICY_LOGS. Other logger.properties had ${POLICY_LOGS} instead of ${{POLICY_LOGS}}; fixed those, too. Change-Id: I56faf5982abf520ee364b54a3560313d0f15cc2a Issue-ID: POLICY-784 Signed-off-by: Jim Hahn --- ONAP-PDP/logging.properties | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ONAP-PDP') diff --git a/ONAP-PDP/logging.properties b/ONAP-PDP/logging.properties index 900d3ad3e..e88d3726f 100644 --- a/ONAP-PDP/logging.properties +++ b/ONAP-PDP/logging.properties @@ -2,7 +2,7 @@ # ============LICENSE_START======================================================= # ONAP-PDP # ================================================================================ -# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. +# Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved. # ================================================================================ # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -24,6 +24,6 @@ handlers = java.util.logging.ConsoleHandler, java.util.logging.FileHandler java.util.logging.ConsoleHandler.level = INFO java.util.logging.FileHandler.level = INFO -java.util.logging.FileHandler.pattern=${POLICY_LOGS}/policy/pdpx/%h/xacml_log%u.log +java.util.logging.FileHandler.pattern=${{POLICY_LOGS}}/policy/pdpx/%h/xacml_log%u.log java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter java.util.logging.FileHandler.formatter = java.util.logging.SimpleFormatter -- cgit 1.2.3-korg