From 457910274afc5f0b66705c0b38380219fb178f3a Mon Sep 17 00:00:00 2001 From: rb7147 Date: Wed, 21 Feb 2018 10:40:47 -0500 Subject: Updated the Policy Logging Pattern Updated the logback.xml to save logs for 30 days. Issue-ID: POLICY-644 Change-Id: I578570fa5a7f86ba464c37cddab43a2fabcdae7f Signed-off-by: rb7147 --- ONAP-SDK-APP/src/main/resources/logback.xml | 168 +++++----------------------- 1 file changed, 26 insertions(+), 142 deletions(-) (limited to 'ONAP-SDK-APP') diff --git a/ONAP-SDK-APP/src/main/resources/logback.xml b/ONAP-SDK-APP/src/main/resources/logback.xml index 42535510b..d19b1ba5a 100644 --- a/ONAP-SDK-APP/src/main/resources/logback.xml +++ b/ONAP-SDK-APP/src/main/resources/logback.xml @@ -3,7 +3,7 @@ ================================================================================ ONAP Portal SDK ================================================================================ - Copyright (C) 2017 AT&T Intellectual Property + Copyright (C) 2017-2018 AT&T Intellectual Property ================================================================================ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -87,13 +87,14 @@ ${logDirectory}/${generalLogName}.log - + - ${logDirectory}/${generalLogName}.%d{yyyy-MM-dd}.log.zip + ${logDirectory}/${generalLogName}.%d{yyyy-MM-dd}.%i.log.zip - 30 - 3GB + 50MB + 30 + 10GB @@ -108,127 +109,6 @@ true - - - - - - - - - - - - - - ${logDirectory}/${auditLogName}.%d{yyyy-MM-dd}.log.zip + ${logDirectory}/${auditLogName}.%d{yyyy-MM-dd}.%i.log.zip - 30 - 3GB + 50MB + 30 + 10GB @@ -259,13 +140,14 @@ ${logDirectory}/${metricsLogName}.log - + - ${logDirectory}/${metricsLogName}.%d{yyyy-MM-dd}.log.zip + ${logDirectory}/${metricsLogName}.%d{yyyy-MM-dd}.%i.log.zip - 30 - 3GB + 50MB + 30 + 10GB @@ -282,13 +164,14 @@ ${logDirectory}/${errorLogName}.log - + - ${logDirectory}/${errorLogName}.%d{yyyy-MM-dd}.log.zip + ${logDirectory}/${errorLogName}.%d{yyyy-MM-dd}.%i.log.zip - 30 - 3GB + 50MB + 30 + 10GB @@ -304,13 +187,14 @@ ${debugLogDirectory}/${debugLogName}.log - + - ${logDirectory}/${debugLogName}.%d{yyyy-MM-dd}.log.zip + ${logDirectory}/${debugLogName}.%d{yyyy-MM-dd}.%i.log.zip - 30 - 3GB + 50MB + 30 + 10GB -- cgit 1.2.3-korg