Code Review
/
policy
/
engine.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
ONAP log files consolidation
[policy/engine.git]
/
ONAP-SDK-APP
/
src
/
main
/
resources
/
logback.xml
diff --git
a/ONAP-SDK-APP/src/main/resources/logback.xml
b/ONAP-SDK-APP/src/main/resources/logback.xml
index
d19b1ba
..
134ecb8
100644
(file)
--- 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 -->
<!--<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 -->
<!-- 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 -->
<!-- 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. -->
<!-- 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" />
<!-- log file names -->
<property name="generalLogName" value="application" />
@@
-234,4
+235,4
@@
<appender-ref ref="asyncEELF" />
</root>
<appender-ref ref="asyncEELF" />
</root>
-</configuration>
+</configuration>
\ No newline at end of file