summaryrefslogtreecommitdiffstats
path: root/ONAP-SDK-APP/src
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-SDK-APP/src
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-SDK-APP/src')
-rw-r--r--ONAP-SDK-APP/src/main/resources/logback.xml9
1 files changed, 5 insertions, 4 deletions
diff --git a/ONAP-SDK-APP/src/main/resources/logback.xml b/ONAP-SDK-APP/src/main/resources/logback.xml
index d19b1ba5a..8e99b0a15 100644
--- a/ONAP-SDK-APP/src/main/resources/logback.xml
+++ b/ONAP-SDK-APP/src/main/resources/logback.xml
@@ -28,15 +28,16 @@
<!--<jmxConfigurator /> -->
<!-- specify the component name -->
- <property name="componentName" value="epsdk_app_os"></property>
+ <property name="componentName" value="policy"></property>
+ <property name="subComponentName" value="epsdk"></property>
<!-- specify the base path of the log directory -->
- <property name="logDirPrefix" value="${catalina.base}/logs"></property>
+ <property name="logDirPrefix" value="${{POLICY_LOGS}}"></property>
<!-- The directories where logs are written -->
- <property name="logDirectory" value="${logDirPrefix}/${componentName}" />
+ <property name="logDirectory" value="${logDirPrefix}/${componentName}/${subComponentName}" />
<!-- Can easily relocate debug logs by modifying this path. -->
- <property name="debugLogDirectory" value="${logDirPrefix}/${componentName}" />
+ <property name="debugLogDirectory" value="${logDirPrefix}/${componentName}/${subComponentName}" />
<!-- log file names -->
<property name="generalLogName" value="application" />