aboutsummaryrefslogtreecommitdiffstats
path: root/BRMSGateway
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 /BRMSGateway
parent11eb39f53842dff62e81a38ab599ddbc97cf7b73 (diff)
parent80cbbc8710292ae08437daa6e3390cc0190e3139 (diff)
Merge "ONAP log files consolidation"
Diffstat (limited to 'BRMSGateway')
-rw-r--r--BRMSGateway/src/main/resources/log4j.properties2
-rw-r--r--BRMSGateway/src/main/resources/logback.xml8
2 files changed, 5 insertions, 5 deletions
diff --git a/BRMSGateway/src/main/resources/log4j.properties b/BRMSGateway/src/main/resources/log4j.properties
index 9ec89ea0a..8be1ea141 100644
--- a/BRMSGateway/src/main/resources/log4j.properties
+++ b/BRMSGateway/src/main/resources/log4j.properties
@@ -29,7 +29,7 @@ log4j.rootLogger=INFO, FILE
log4j.appender.FILE=org.apache.log4j.DailyRollingFileAppender
# Set the name of the file
-log4j.appender.FILE.File=BRMSLog.log
+log4j.appender.FILE.File=${POLICY_LOGS}/policy/brmsgw/BRMSLog.log
# Set the immediate flush to true (default)
log4j.appender.FILE.ImmediateFlush=true
diff --git a/BRMSGateway/src/main/resources/logback.xml b/BRMSGateway/src/main/resources/logback.xml
index c01117ba7..2d592c0e2 100644
--- a/BRMSGateway/src/main/resources/logback.xml
+++ b/BRMSGateway/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="BRMSGateway"></property>
+ <property name="componentName" value="policy"></property>
+ <property name="subComponentName" value="brmsgw"></property>
<!-- log file names -->
<property name="errorLogName" value="error" />