summaryrefslogtreecommitdiffstats
path: root/ONAP-PAP-REST/src/main/resources/log4j.properties
diff options
context:
space:
mode:
authorChou, Joseph (JC2555) <jc2555@att.com>2018-03-22 11:22:35 -0400
committerChou, Joseph (JC2555) <jc2555@att.com>2018-03-23 18:05:27 -0400
commit669931e76de18aabb14f9ff873da4783f8c83d7a (patch)
treed289226c55b0e7adfe9f56ea6dc6f9e32120dbca /ONAP-PAP-REST/src/main/resources/log4j.properties
parentcc7d8f696dd7717493dfc87e41884c7dd9923b83 (diff)
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) <jc2555@att.com>
Diffstat (limited to 'ONAP-PAP-REST/src/main/resources/log4j.properties')
-rw-r--r--ONAP-PAP-REST/src/main/resources/log4j.properties6
1 files changed, 3 insertions, 3 deletions
diff --git a/ONAP-PAP-REST/src/main/resources/log4j.properties b/ONAP-PAP-REST/src/main/resources/log4j.properties
index 04f3233c1..7a1a6bea3 100644
--- a/ONAP-PAP-REST/src/main/resources/log4j.properties
+++ b/ONAP-PAP-REST/src/main/resources/log4j.properties
@@ -28,7 +28,7 @@ log4j.rootLogger=INFO, FILE
# FILE appender
log4j.appender.FILE=org.apache.log4j.DailyRollingFileAppender
-log4j.appender.FILE.File=${catalina.base}/logs/pap-rest.log
+log4j.appender.FILE.File=${{POLICY_LOGS}}/policy/pap/pap-rest.log
log4j.appender.FILE.ImmediateFlush=true
log4j.appender.FILE.Threshold=debug
log4j.appender.FILE.append=true
@@ -47,7 +47,7 @@ log4j.appender.FILE.layout.ConversionPattern=%d{yyyy-MM-dd'T'HH:mm:ss}{GMT+0}+00
log4j.logger.xacml.request=INFO, REQUEST_LOG
log4j.appender.REQUEST_LOG=org.apache.log4j.DailyRollingFileAppender
-log4j.appender.REQUEST_LOG.File=${catalina.base}/logs/pap-rest-reqres.log
+log4j.appender.REQUEST_LOG.File=${{POLICY_LOGS}}/policy/pap/pap-rest-reqres.log
log4j.appender.REQUEST_LOG.ImmediateFlush=true
log4j.appender.REQUEST_LOG.Threshold=debug
log4j.appender.REQUEST_LOG.append=true
@@ -63,7 +63,7 @@ log4j.logger.auditLogger=INFO,AUDIT_LOG
log4j.additivity.auditLogger=false
log4j.appender.AUDIT_LOG=org.apache.log4j.DailyRollingFileAppender
-log4j.appender.AUDIT_LOG.File=${catalina.base}/logs/audit.log
+log4j.appender.AUDIT_LOG.File=${{POLICY_LOGS}}/policy/pap/audit.log
log4j.appender.AUDIT_LOG.Append=true
log4j.appender.AUDIT_LOG.DatePattern='.'yyyy-MM-dd
log4j.appender.AUDIT_LOG.threshold=INFO