summaryrefslogtreecommitdiffstats
path: root/ONAP-PDP
diff options
context:
space:
mode:
authorJim Hahn <jrh3@att.com>2018-06-12 14:35:01 -0400
committerJim Hahn <jrh3@att.com>2018-06-12 14:35:01 -0400
commit6eb3c7f44a64cc1aebd4bcef6b081073d91bde7b (patch)
tree974ef2e83d1af396af2b25c78b8ad03664654996 /ONAP-PDP
parent67de0163434349c52291e49cc7bbeadcba03747c (diff)
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 <jrh3@att.com>
Diffstat (limited to 'ONAP-PDP')
-rw-r--r--ONAP-PDP/logging.properties4
1 files changed, 2 insertions, 2 deletions
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