summaryrefslogtreecommitdiffstats
path: root/ONAP-SDK-APP/src
diff options
context:
space:
mode:
authorJorge Hernandez <jh1730@att.com>2018-04-03 21:34:01 +0000
committerGerrit Code Review <gerrit@onap.org>2018-04-03 21:34:01 +0000
commite313080641069b3bfc1f497113c57f1667b72bbc (patch)
tree19db3da5e6c69e8e2e408e51192e1e456a1034c1 /ONAP-SDK-APP/src
parent11eb39f53842dff62e81a38ab599ddbc97cf7b73 (diff)
parent80cbbc8710292ae08437daa6e3390cc0190e3139 (diff)
Merge "ONAP log files consolidation"
Diffstat (limited to 'ONAP-SDK-APP/src')
-rw-r--r--ONAP-SDK-APP/src/main/resources/logback.xml11
1 files changed, 6 insertions, 5 deletions
diff --git a/ONAP-SDK-APP/src/main/resources/logback.xml b/ONAP-SDK-APP/src/main/resources/logback.xml
index d19b1ba5a..134ecb8ab 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="console"></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" />
@@ -234,4 +235,4 @@
<appender-ref ref="asyncEELF" />
</root>
-</configuration>
+</configuration> \ No newline at end of file