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
diff --git a/PolicyEngineAPI/src/main/resources/logback.xml b/PolicyEngineAPI/src/main/resources/logback.xml
index 347466b..37261ed 100644
--- a/PolicyEngineAPI/src/main/resources/logback.xml
+++ b/PolicyEngineAPI/src/main/resources/logback.xml
@@ -21,15 +21,15 @@
 <configuration scan="true" scanPeriod="3 seconds" debug="true">
   <!--<jmxConfigurator /> -->
   <!-- directory path for all other type logs -->
-  <property name="logDir" value="logs" />
+  <property name="logDir" value="${POLICY_LOGS}" />
   
   <!-- directory path for debugging type logs -->
-  <property name="debugDir" value="logs" />
+  <property name="debugDir" value="${POLICY_LOGS}" />
   
   <!--  specify the component name 
     <ONAP-component-name>::= "MSO" | "DCAE" | "ASDC " | "AAI" |"Policy" | "SDNC" | "AC"  -->
-  <property name="componentName" value="Policy"></property>
-  <property name="subComponentName" value="PolicyEngineAPI"></property>
+  <property name="componentName" value="policy"></property>
+  <property name="subComponentName" value="policyapi"></property>
   
   <!--  log file names -->
   <property name="errorLogName" value="error" />