X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=PolicyEngineAPI%2Fsrc%2Fmain%2Fresources%2Flogback.xml;h=347466bcca617714c4068a1d989525396d07f319;hb=457910274afc5f0b66705c0b38380219fb178f3a;hp=9e990ccd37a48661428720e858dbc14e9c605759;hpb=a330af579866dacbe595e2e4ad1dd29cd3c96945;p=policy%2Fengine.git
diff --git a/PolicyEngineAPI/src/main/resources/logback.xml b/PolicyEngineAPI/src/main/resources/logback.xml
index 9e990ccd3..347466bcc 100644
--- a/PolicyEngineAPI/src/main/resources/logback.xml
+++ b/PolicyEngineAPI/src/main/resources/logback.xml
@@ -2,7 +2,7 @@
============LICENSE_START=======================================================
PolicyEngineAPI
================================================================================
- Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
================================================================================
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -27,7 +27,7 @@
+ ::= "MSO" | "DCAE" | "ASDC " | "AAI" |"Policy" | "SDNC" | "AC" -->
@@ -113,16 +113,15 @@
class="ch.qos.logback.core.rolling.RollingFileAppender">
${logDirectory}/${auditLogName}.log
- ${logDirectory}/${auditLogName}.%i.log.zip
-
- 1
- 9
+ class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
+ ${logDirectory}/${auditLogName}.%d{yyyy-MM-dd}.%i.log.zip
+
+
+ 50MB
+ 30
+ 10GB
-
- 5MB
-
+
${defaultAuditPattern}
@@ -140,19 +139,16 @@
class="ch.qos.logback.core.rolling.RollingFileAppender">
${logDirectory}/${metricsLogName}.log
- ${logDirectory}/${metricsLogName}.%i.log.zip
-
- 1
- 9
+ class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
+ ${logDirectory}/${metricsLogName}.%d{yyyy-MM-dd}.%i.log.zip
+
+
+ 50MB
+ 30
+ 10GB
-
- 5MB
-
+
-
${defaultMetricPattern}
@@ -169,19 +165,18 @@
class="ch.qos.logback.core.rolling.RollingFileAppender">
${logDirectory}/${errorLogName}.log
- ${logDirectory}/${errorLogName}.%i.log.zip
-
- 1
- 9
+ class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
+ ${logDirectory}/${errorLogName}.%d{yyyy-MM-dd}.%i.log.zip
+
+
+ 50MB
+ 30
+ 10GB
ERROR
-
-
- 5MB
-
+
+
${defaultErrorPattern}
@@ -198,19 +193,18 @@
class="ch.qos.logback.core.rolling.RollingFileAppender">
${debugLogDirectory}/${debugLogName}.log
- ${debugLogDirectory}/${debugLogName}.%i.log.zip
-
- 1
- 9
+ class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
+ ${debugLogDirectory}/${debugLogName}.%d{yyyy-MM-dd}.%i.log.zip
+
+
+ 50MB
+ 30
+ 10GB
- INFO
-
-
- 5MB
-
+ DEBUG
+
+
${debugLoggerPattern}