diff options
author | Jorge Hernandez <jh1730@att.com> | 2018-04-03 21:34:01 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-04-03 21:34:01 +0000 |
commit | e313080641069b3bfc1f497113c57f1667b72bbc (patch) | |
tree | 19db3da5e6c69e8e2e408e51192e1e456a1034c1 /PolicyEngineAPI/src/main | |
parent | 11eb39f53842dff62e81a38ab599ddbc97cf7b73 (diff) | |
parent | 80cbbc8710292ae08437daa6e3390cc0190e3139 (diff) |
Merge "ONAP log files consolidation"
Diffstat (limited to 'PolicyEngineAPI/src/main')
-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" /> |