diff options
Diffstat (limited to 'BRMSGateway/src')
-rw-r--r-- | BRMSGateway/src/main/resources/log4j.properties | 2 | ||||
-rw-r--r-- | BRMSGateway/src/main/resources/logback.xml | 8 |
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" /> |