From 7af7277884a4c82968caeb616a7f6726f9a90bcd Mon Sep 17 00:00:00 2001 From: Cihan Saglam Date: Tue, 20 Oct 2020 13:55:09 +0200 Subject: [PATCH] change logger configurations --- src/main/resources/log4j2.properties | 18 ------------------ src/main/resources/log4j2.xml | 18 ++++++++++++++++++ 2 files changed, 18 insertions(+), 18 deletions(-) delete mode 100644 src/main/resources/log4j2.properties create mode 100644 src/main/resources/log4j2.xml diff --git a/src/main/resources/log4j2.properties b/src/main/resources/log4j2.properties deleted file mode 100644 index 0f72b4b..0000000 --- a/src/main/resources/log4j2.properties +++ /dev/null @@ -1,18 +0,0 @@ -status = error -dest = err -name = testLoggerConfig - -filter.threshold.type = ThresholdFilter -filter.threshold.level = debug - -appender.console.type = Console -appender.console.name = STDOUT -appender.console.layout.type = PatternLayout -appender.console.layout.pattern = %highlight{[%t] %p %c{1.} - %m%n%throwable} -# appender.console.layout.pattern=%highlight{[%t] %p %l %M -} %highlight{%m%n%throwable}{STYLE=Logback} -appender.console.filter.threshold.type = ThresholdFilter -appender.console.filter.threshold.level = debug - - -rootLogger.level = debug -rootLogger.appenderRef.stdout.ref = STDOUT diff --git a/src/main/resources/log4j2.xml b/src/main/resources/log4j2.xml new file mode 100644 index 0000000..979a1bc --- /dev/null +++ b/src/main/resources/log4j2.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + \ No newline at end of file