summaryrefslogtreecommitdiffstats
path: root/BRMSGateway/src/main/resources
diff options
context:
space:
mode:
authorChou, Joseph (JC2555) <jc2555@att.com>2018-04-02 14:11:34 -0400
committerPamela Dragosh <pdragosh@research.att.com>2018-04-03 14:24:50 +0000
commit80cbbc8710292ae08437daa6e3390cc0190e3139 (patch)
treea23f07b06617c33c96ee41568b9422c252997549 /BRMSGateway/src/main/resources
parentdef1c29d8a8c4372e006b1388a456bca92d57500 (diff)
ONAP log files consolidation
Check in changes for pap,pdp,console,brmsgw,paplp and pdplp Change-Id: I23525a44e0f269d04d9870c3eed18b6b8daacb2c Issue-ID: POLICY-562 Signed-off-by: Chou, Joseph (JC2555) <jc2555@att.com>
Diffstat (limited to 'BRMSGateway/src/main/resources')
-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" />