From 5351a0b81ac489403638ac89b46f61015429b0d6 Mon Sep 17 00:00:00 2001 From: "a.sreekumar" Date: Mon, 30 Sep 2019 12:21:21 +0100 Subject: Changing APEX PDP logging similar to other Policy components Change-Id: I73dcfd581f82b5aa633b1f777166cdd3fa7a3b93 Issue-ID: POLICY-2062 Signed-off-by: a.sreekumar --- .../src/main/resources/logback.xml | 170 +++++++++++++-------- 1 file changed, 106 insertions(+), 64 deletions(-) (limited to 'packages/apex-pdp-package-full') diff --git a/packages/apex-pdp-package-full/src/main/resources/logback.xml b/packages/apex-pdp-package-full/src/main/resources/logback.xml index b96a37686..2b41c9405 100644 --- a/packages/apex-pdp-package-full/src/main/resources/logback.xml +++ b/packages/apex-pdp-package-full/src/main/resources/logback.xml @@ -1,64 +1,106 @@ - - - - - - - Apex - - - - - - %d %contextName [%t] %level %logger{36} - %msg%n - - - - - - - - - ${VAR_LOG}/apex.log - - %d %-5relative [procId=${processId}] [%thread] %-5level - %logger{26} - %msg %n %ex{full} - - - - - ${VAR_LOG}/apex_ctxt.log - - %d %-5relative [procId=${processId}] [%thread] %-5level - %logger{26} - %msg %n %ex{full} - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + ${logDir}/${errorLog}.log + + ${logDir}/${errorLog}.%d{yyyy-MM-dd}.%i.log.zip + + 50MB + 30 + 10GB + + + WARN + + + ${errorPattern} + + + + + + + + + ${logDir}/${debugLog}.log + + ${logDir}/${debugLog}.%d{yyyy-MM-dd}.%i.log.zip + + 50MB + 30 + 10GB + + + ${debugPattern} + + + + + + + + + ${logDir}/${networkLog}.log + + ${logDir}/${networkLog}.%d{yyyy-MM-dd}.%i.log.zip + + 50MB + 30 + 10GB + + + ${networkPattern} + + + + + + + + + + + + + + + + + + + + + -- cgit 1.2.3-korg