X-Git-Url: https://gerrit.onap.org/r/gitweb?p=policy%2Fengine.git;a=blobdiff_plain;f=PolicyEngineAPI%2Fsrc%2Fmain%2Fresources%2Flogback.xml;h=c3eec49b544ab3ac29f448a1c1cb12d1f7107baa;hp=9e990ccd37a48661428720e858dbc14e9c605759;hb=783745964f1362fadd499f32dcd60325d247dcfe;hpb=e0addf5b588a1244f9679becd90999dfcb4c3a94 diff --git a/PolicyEngineAPI/src/main/resources/logback.xml b/PolicyEngineAPI/src/main/resources/logback.xml index 9e990ccd3..c3eec49b5 100644 --- a/PolicyEngineAPI/src/main/resources/logback.xml +++ b/PolicyEngineAPI/src/main/resources/logback.xml @@ -2,14 +2,14 @@ ============LICENSE_START======================================================= PolicyEngineAPI ================================================================================ - Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + Copyright (C) 2017-2019 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. You may obtain a copy of the License at - + http://www.apache.org/licenses/LICENSE-2.0 - + Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -21,74 +21,74 @@ - - + + - - - - - - + + + + + + - - + + - - - - - - - - - - + + + + - - - + + + + + --> --> - - - - - - - - - + + + + + + --> - - - + + + @@ -100,29 +100,28 @@ - - - - + ${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,23 +139,20 @@ 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} - + 256 @@ -164,87 +160,85 @@ - + ${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} - + 256 - + ${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} - + 256 true - - + + - + - + - + - + - - - + + +