ONAP log files consolidation
Check in changes for pap,pdp,console,brmsgw,paplp and pdplp
Change-Id: I23525a44e0f269d04d9870c3eed18b6b8daacb2c
Issue-ID: POLICY-562
Signed-off-by: Chou, Joseph (JC2555) <jc2555@att.com>
diff --git a/PolicyEngineAPI/src/main/resources/log4j.properties b/PolicyEngineAPI/src/main/resources/log4j.properties
index 83a68a7..d6787bd 100644
--- a/PolicyEngineAPI/src/main/resources/log4j.properties
+++ b/PolicyEngineAPI/src/main/resources/log4j.properties
@@ -29,7 +29,7 @@
log4j.appender.FILE=org.apache.log4j.DailyRollingFileAppender
# Set the name of the file
-log4j.appender.FILE.File=policyEngineLog.log
+log4j.appender.FILE.File=${POLICY_LOGS}/policy/engineapi/policyEngineLog.log
# Set the immediate flush to true (default)
log4j.appender.FILE.ImmediateFlush=true
@@ -48,9 +48,9 @@
log4j.appender.FILE.layout.ConversionPattern=%d{yyyy_MM_dd_HH_mm_ss_SSS} [%t] %-5p %l- %m%n
# For AstraGW feature.
-log4j.appender.astra=org.apache.log4j.FileAppender
-log4j.appender.astra.File=astragw.log
-log4j.appender.astra.layout=org.apache.log4j.PatternLayout
-log4j.appender.astra.layout.ConversionPattern=%d{yyyy_MM_dd_HH_mm_ss_SSS} [%t] %-5p %l- %m%n
-log4j.category.astraLogger=TRACE, astra
-log4j.additivity.astraLogger=false
+#log4j.appender.astra=org.apache.log4j.FileAppender
+#log4j.appender.astra.File=${POLICY_LOGS}/policy/astragw/astragw.log
+#log4j.appender.astra.layout=org.apache.log4j.PatternLayout
+#log4j.appender.astra.layout.ConversionPattern=%d{yyyy_MM_dd_HH_mm_ss_SSS} [%t] %-5p %l- %m%n
+#log4j.category.astraLogger=TRACE, astra
+#log4j.additivity.astraLogger=false