diff options
Diffstat (limited to 'PolicyEngineAPI/src')
-rw-r--r-- | PolicyEngineAPI/src/main/resources/log4j.properties | 14 | ||||
-rw-r--r-- | PolicyEngineAPI/src/main/resources/logback.xml | 8 |
2 files changed, 11 insertions, 11 deletions
diff --git a/PolicyEngineAPI/src/main/resources/log4j.properties b/PolicyEngineAPI/src/main/resources/log4j.properties index 83a68a767..d6787bd27 100644 --- a/PolicyEngineAPI/src/main/resources/log4j.properties +++ b/PolicyEngineAPI/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=policyEngineLog.log +log4j.appender.FILE.File=${POLICY_LOGS}/policy/engineapi/policyEngineLog.log # Set the immediate flush to true (default) log4j.appender.FILE.ImmediateFlush=true @@ -48,9 +48,9 @@ log4j.appender.FILE.layout=org.apache.log4j.PatternLayout log4j.appender.FILE.layout.ConversionPattern=%d{yyyy_MM_dd_HH_mm_ss_SSS} [%t] %-5p %l- %m%n # For AstraGW feature. -log4j.appender.astra=org.apache.log4j.FileAppender -log4j.appender.astra.File=astragw.log -log4j.appender.astra.layout=org.apache.log4j.PatternLayout -log4j.appender.astra.layout.ConversionPattern=%d{yyyy_MM_dd_HH_mm_ss_SSS} [%t] %-5p %l- %m%n -log4j.category.astraLogger=TRACE, astra -log4j.additivity.astraLogger=false +#log4j.appender.astra=org.apache.log4j.FileAppender +#log4j.appender.astra.File=${POLICY_LOGS}/policy/astragw/astragw.log +#log4j.appender.astra.layout=org.apache.log4j.PatternLayout +#log4j.appender.astra.layout.ConversionPattern=%d{yyyy_MM_dd_HH_mm_ss_SSS} [%t] %-5p %l- %m%n +#log4j.category.astraLogger=TRACE, astra +#log4j.additivity.astraLogger=false diff --git a/PolicyEngineAPI/src/main/resources/logback.xml b/PolicyEngineAPI/src/main/resources/logback.xml index 347466bcc..37261edd7 100644 --- a/PolicyEngineAPI/src/main/resources/logback.xml +++ b/PolicyEngineAPI/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="PolicyEngineAPI"></property> + <property name="componentName" value="policy"></property> + <property name="subComponentName" value="policyapi"></property> <!-- log file names --> <property name="errorLogName" value="error" /> |