ONAP code change for log files consolidation
Undo the change so this would not block other test activity
Change-Id: I4f7dd2e14f30034eefbf958be3c912af2962e8a2
Issue-ID: POLICY-562
Signed-off-by: Chou, Joseph (JC2555) <jc2555@att.com>
diff --git a/ONAP-PDP-REST/src/main/resources/logback.xml b/ONAP-PDP-REST/src/main/resources/logback.xml
index 6e4064d..677b0d0 100644
--- a/ONAP-PDP-REST/src/main/resources/logback.xml
+++ b/ONAP-PDP-REST/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="${{POLICY_LOGS}}" />
+ <property name="logDir" value="logs" />
<!-- directory path for debugging type logs -->
- <property name="debugDir" value="${{POLICY_LOGS}}" />
+ <property name="debugDir" value="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="pdpx"></property>
+ <property name="componentName" value="Policy"></property>
+ <property name="subComponentName" value="ONAP-PDP-REST"></property>
<!-- log file names -->
<property name="errorLogName" value="error" />
@@ -83,8 +83,8 @@
<property name="debugLogDirectory" value="${debugDir}/${componentName}/${subComponentName}" />
-->
- <property name="logDirectory" value="${logDir}/${componentName}/${subComponentName}" />
- <property name="debugLogDirectory" value="${debugDir}/${componentName}/${subComponentName}" />
+ <property name="logDirectory" value="${catalina.base}/${logDir}/${componentName}/${subComponentName}" />
+ <property name="debugLogDirectory" value="${catalina.base}/${debugDir}/${componentName}/${subComponentName}" />