aboutsummaryrefslogtreecommitdiffstats
path: root/packages/base/src
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 /packages/base/src
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 'packages/base/src')
-rw-r--r--packages/base/src/files/install/servers/console/conf/logging.properties11
-rw-r--r--packages/base/src/files/install/servers/pap/conf/logging.properties11
-rw-r--r--packages/base/src/files/install/servers/pdp/conf/logging.properties11
3 files changed, 21 insertions, 12 deletions
diff --git a/packages/base/src/files/install/servers/console/conf/logging.properties b/packages/base/src/files/install/servers/console/conf/logging.properties
index 88e50c597..e0cd49b7c 100644
--- a/packages/base/src/files/install/servers/console/conf/logging.properties
+++ b/packages/base/src/files/install/servers/console/conf/logging.properties
@@ -1,3 +1,6 @@
+#
+# Copyright (C) 2018 AT&T Intellectual Property. All rights reserved.
+#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
@@ -23,19 +26,19 @@ handlers = 1catalina.org.apache.juli.AsyncFileHandler, 2localhost.org.apache.jul
############################################################
1catalina.org.apache.juli.AsyncFileHandler.level = FINE
-1catalina.org.apache.juli.AsyncFileHandler.directory = /var/log/onap/policy/console
+1catalina.org.apache.juli.AsyncFileHandler.directory = ${{POLICY_LOGS}}/policy/console
1catalina.org.apache.juli.AsyncFileHandler.prefix = catalina.
2localhost.org.apache.juli.AsyncFileHandler.level = FINE
-2localhost.org.apache.juli.AsyncFileHandler.directory = /var/log/onap/policy/console
+2localhost.org.apache.juli.AsyncFileHandler.directory = ${{POLICY_LOGS}}/policy/console
2localhost.org.apache.juli.AsyncFileHandler.prefix = localhost.
3manager.org.apache.juli.AsyncFileHandler.level = FINE
-3manager.org.apache.juli.AsyncFileHandler.directory = /var/log/onap/policy/console
+3manager.org.apache.juli.AsyncFileHandler.directory = ${{POLICY_LOGS}}/policy/console
3manager.org.apache.juli.AsyncFileHandler.prefix = manager.
4host-manager.org.apache.juli.AsyncFileHandler.level = FINE
-4host-manager.org.apache.juli.AsyncFileHandler.directory = /var/log/onap/policy/console
+4host-manager.org.apache.juli.AsyncFileHandler.directory = ${{POLICY_LOGS}}/policy/console
4host-manager.org.apache.juli.AsyncFileHandler.prefix = host-manager.
java.util.logging.ConsoleHandler.level = FINE
diff --git a/packages/base/src/files/install/servers/pap/conf/logging.properties b/packages/base/src/files/install/servers/pap/conf/logging.properties
index 3d4d024f2..4f74472c5 100644
--- a/packages/base/src/files/install/servers/pap/conf/logging.properties
+++ b/packages/base/src/files/install/servers/pap/conf/logging.properties
@@ -1,3 +1,6 @@
+#
+# Copyright (C) 2018 AT&T Intellectual Property. All rights reserved.
+#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
@@ -23,19 +26,19 @@ handlers = 1catalina.org.apache.juli.AsyncFileHandler, 2localhost.org.apache.jul
############################################################
1catalina.org.apache.juli.AsyncFileHandler.level = FINE
-1catalina.org.apache.juli.AsyncFileHandler.directory = /var/log/onap/policy/pap
+1catalina.org.apache.juli.AsyncFileHandler.directory = ${{POLICY_LOGS}}/policy/pap
1catalina.org.apache.juli.AsyncFileHandler.prefix = catalina.
2localhost.org.apache.juli.AsyncFileHandler.level = FINE
-2localhost.org.apache.juli.AsyncFileHandler.directory = /var/log/onap/policy/pap
+2localhost.org.apache.juli.AsyncFileHandler.directory = ${{POLICY_LOGS}}/policy/pap
2localhost.org.apache.juli.AsyncFileHandler.prefix = localhost.
3manager.org.apache.juli.AsyncFileHandler.level = FINE
-3manager.org.apache.juli.AsyncFileHandler.directory = /var/log/onap/policy/pap
+3manager.org.apache.juli.AsyncFileHandler.directory = ${{POLICY_LOGS}}/policy/pap
3manager.org.apache.juli.AsyncFileHandler.prefix = manager.
4host-manager.org.apache.juli.AsyncFileHandler.level = FINE
-4host-manager.org.apache.juli.AsyncFileHandler.directory = /var/log/onap/policy/pap
+4host-manager.org.apache.juli.AsyncFileHandler.directory = ${{POLICY_LOGS}}/policy/pap
4host-manager.org.apache.juli.AsyncFileHandler.prefix = host-manager.
java.util.logging.ConsoleHandler.level = FINE
diff --git a/packages/base/src/files/install/servers/pdp/conf/logging.properties b/packages/base/src/files/install/servers/pdp/conf/logging.properties
index 1f8e48dd2..9474f98a7 100644
--- a/packages/base/src/files/install/servers/pdp/conf/logging.properties
+++ b/packages/base/src/files/install/servers/pdp/conf/logging.properties
@@ -1,3 +1,6 @@
+#
+# Copyright (C) 2018 AT&T Intellectual Property. All rights reserved.
+#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
@@ -23,19 +26,19 @@ handlers = 1catalina.org.apache.juli.AsyncFileHandler, 2localhost.org.apache.jul
############################################################
1catalina.org.apache.juli.AsyncFileHandler.level = FINE
-1catalina.org.apache.juli.AsyncFileHandler.directory = /var/log/onap/policy/pdp
+1catalina.org.apache.juli.AsyncFileHandler.directory = ${{POLICY_LOGS}}/policy/pdp
1catalina.org.apache.juli.AsyncFileHandler.prefix = catalina.
2localhost.org.apache.juli.AsyncFileHandler.level = FINE
-2localhost.org.apache.juli.AsyncFileHandler.directory = /var/log/onap/policy/pdp
+2localhost.org.apache.juli.AsyncFileHandler.directory = ${{POLICY_LOGS}}/policy/pdp
2localhost.org.apache.juli.AsyncFileHandler.prefix = localhost.
3manager.org.apache.juli.AsyncFileHandler.level = FINE
-3manager.org.apache.juli.AsyncFileHandler.directory = /var/log/onap/policy/pdp
+3manager.org.apache.juli.AsyncFileHandler.directory = ${{POLICY_LOGS}}/policy/pdp
3manager.org.apache.juli.AsyncFileHandler.prefix = manager.
4host-manager.org.apache.juli.AsyncFileHandler.level = FINE
-4host-manager.org.apache.juli.AsyncFileHandler.directory = /var/log/onap/policy/pdp
+4host-manager.org.apache.juli.AsyncFileHandler.directory = ${{POLICY_LOGS}}/policy/pdp
4host-manager.org.apache.juli.AsyncFileHandler.prefix = host-manager.
java.util.logging.ConsoleHandler.level = FINE