From 2b6a7f908b65d07146b54ebfd4e4d3a640ea3cac Mon Sep 17 00:00:00 2001 From: Dijalma Silva Date: Fri, 14 Jun 2019 14:47:50 -0300 Subject: [PATCH] Created filter to deny ERRORS in Console Appender. --- .../src/main/resources/logback-spring.xml | 51 +++++++++++++++++-- 1 file changed, 48 insertions(+), 3 deletions(-) diff --git a/heimdall-gateway/src/main/resources/logback-spring.xml b/heimdall-gateway/src/main/resources/logback-spring.xml index 4b89f386..ee70cb91 100644 --- a/heimdall-gateway/src/main/resources/logback-spring.xml +++ b/heimdall-gateway/src/main/resources/logback-spring.xml @@ -1,13 +1,58 @@ - - + + + + + + + + + + + + + + + + + + + ERROR + DENY + ACCEPT + + + + ${CONSOLE_LOG_PATTERN} + + + + + + ${FILE_LOG_PATTERN} + + ${LOG_FILE} + + ${LOG_FILE_CLEAN_HISTORY_ON_START:-false} + ${LOG_FILE}.%d{yyyy-MM-dd}.%i.gz + ${LOG_FILE_MAX_SIZE:-10MB} + ${LOG_FILE_MAX_HISTORY:-7} + ${LOG_FILE_TOTAL_SIZE_CAP:-0} + + + + + + + @@ -20,7 +65,7 @@ - +