From 669931e76de18aabb14f9ff873da4783f8c83d7a Mon Sep 17 00:00:00 2001 From: "Chou, Joseph (JC2555)" Date: Thu, 22 Mar 2018 11:22:35 -0400 Subject: ONAP code change for log files consolidation Code change for log files consolidation of PAP, PDP, BRMSGW, Console and db script Issue-ID: POLICY-562 Change-Id: I416ba7748b841bb2b1a31682e2b1631e279549e8 Signed-off-by: Chou, Joseph (JC2555) --- packages/install/src/files/base.conf | 2 ++ packages/install/src/files/paplp.conf | 4 ++-- packages/install/src/files/pdplp.conf | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) (limited to 'packages/install') diff --git a/packages/install/src/files/base.conf b/packages/install/src/files/base.conf index cd08d4a41..a64cd3ee7 100644 --- a/packages/install/src/files/base.conf +++ b/packages/install/src/files/base.conf @@ -17,3 +17,5 @@ max_fpc_update_interval=60 test_via_jmx=false ENVIRONMENT=TEST + +POLICY_LOGS=/var/log/onap \ No newline at end of file diff --git a/packages/install/src/files/paplp.conf b/packages/install/src/files/paplp.conf index f5a6d096b..ec7578be7 100755 --- a/packages/install/src/files/paplp.conf +++ b/packages/install/src/files/paplp.conf @@ -4,8 +4,8 @@ LOGPARSER_X_MS_MB=1024 LOGPARSER_X_MX_MB=1024 SERVER=https://${{FQDN}}:9091/pap/ -LOGPATH=${{POLICY_HOME}}/servers/pap/logs/pap-rest.log -PARSERLOGPATH=IntegrityMonitor.log +LOGPATH=${{POLICY_LOGS}}/policy/pap/pap-rest.log +PARSERLOGPATH=${{POLICY_LOGS}}/policy/pap/IntegrityMonitor.log node_type=logparser # the java property is RESOURCE_NAME (uppercase), but the conf parameter is lowercase diff --git a/packages/install/src/files/pdplp.conf b/packages/install/src/files/pdplp.conf index 750537819..f791a3f79 100755 --- a/packages/install/src/files/pdplp.conf +++ b/packages/install/src/files/pdplp.conf @@ -4,8 +4,8 @@ LOGPARSER_X_MS_MB=1024 LOGPARSER_X_MX_MB=1024 SERVER=https://${{FQDN}}:8081/pdp/ -LOGPATH=${{POLICY_HOME}}/servers/pdp/logs/pdp-rest.log -PARSERLOGPATH=IntegrityMonitor.log +LOGPATH=${{POLICY_LOGS}}/policy/pdpx/pdp-rest.log +PARSERLOGPATH==${{POLICY_LOGS}}/policy/pdpx/IntegrityMonitor.log node_type=logparser # the java property is RESOURCE_NAME (uppercase), but the conf parameter is lowercase -- cgit 1.2.3-korg