From 4a0676c9cebd3671c9dd2ec522cdd6aa70e818fd Mon Sep 17 00:00:00 2001 From: niamhcore Date: Thu, 17 Dec 2020 12:53:50 +0000 Subject: [PATCH] Redirecting logs to console Issue-ID: CPS-10 Signed-off-by: niamhcore Change-Id: Ib10a813cf33ad634fc9992b3b3a54a20e2323be1 --- cps-rest/src/main/resources/logback-spring.xml | 48 ----------------- cps-ri/src/main/resources/logback-spring.xml | 48 ----------------- cps-service/src/main/resources/logback-spring.xml | 66 ++++++++++++++--------- 3 files changed, 40 insertions(+), 122 deletions(-) delete mode 100644 cps-rest/src/main/resources/logback-spring.xml delete mode 100644 cps-ri/src/main/resources/logback-spring.xml diff --git a/cps-rest/src/main/resources/logback-spring.xml b/cps-rest/src/main/resources/logback-spring.xml deleted file mode 100644 index 8a4ae07c5b..0000000000 --- a/cps-rest/src/main/resources/logback-spring.xml +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - - - - - - - - - - - - ../log/${logName}.log - - ${logName}.%d{yyyy-MM-dd}.%i.log.zip - - ${maxFileSize} - ${maxHistory} - ${totalSizeCap} - - - ${debugPattern} - - - - - 256 - - true - - - - - - - - - - - - \ No newline at end of file diff --git a/cps-ri/src/main/resources/logback-spring.xml b/cps-ri/src/main/resources/logback-spring.xml deleted file mode 100644 index 8a4ae07c5b..0000000000 --- a/cps-ri/src/main/resources/logback-spring.xml +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - - - - - - - - - - - - ../log/${logName}.log - - ${logName}.%d{yyyy-MM-dd}.%i.log.zip - - ${maxFileSize} - ${maxHistory} - ${totalSizeCap} - - - ${debugPattern} - - - - - 256 - - true - - - - - - - - - - - - \ No newline at end of file diff --git a/cps-service/src/main/resources/logback-spring.xml b/cps-service/src/main/resources/logback-spring.xml index 8a4ae07c5b..04bff86bd2 100644 --- a/cps-service/src/main/resources/logback-spring.xml +++ b/cps-service/src/main/resources/logback-spring.xml @@ -14,35 +14,49 @@ - - ../log/${logName}.log - - ${logName}.%d{yyyy-MM-dd}.%i.log.zip - - ${maxFileSize} - ${maxHistory} - ${totalSizeCap} - - - ${debugPattern} - + + + + + ${all-log-pattern} + - - 256 - - true - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file -- 2.16.6