X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=BRMSGateway%2Fsrc%2Fmain%2Fresources%2Flogback.xml;h=c01117ba70171c91a714e318107b1e2e9b3fa1b9;hb=457910274afc5f0b66705c0b38380219fb178f3a;hp=3fa0a65c49d7caf96c7dcac973e3fb754883f1cb;hpb=90d00371ecff702432203f7df882e0a8144ea43f;p=policy%2Fengine.git diff --git a/BRMSGateway/src/main/resources/logback.xml b/BRMSGateway/src/main/resources/logback.xml index 3fa0a65c4..c01117ba7 100644 --- a/BRMSGateway/src/main/resources/logback.xml +++ b/BRMSGateway/src/main/resources/logback.xml @@ -2,7 +2,7 @@ ============LICENSE_START======================================================= ONAP Policy Engine ================================================================================ - 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. @@ -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 DEBUG - - 5MB - + ${debugLoggerPattern}