From ac552c17e6d0b4754f71d28c0beb5ef10afcebab Mon Sep 17 00:00:00 2001 From: Etzelia Date: Mon, 10 Dec 2018 20:47:23 +0100 Subject: [PATCH] Re-configure Log4J. --- src/main/resources/log4j.properties | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/main/resources/log4j.properties b/src/main/resources/log4j.properties index 3ab96d3..92737fc 100644 --- a/src/main/resources/log4j.properties +++ b/src/main/resources/log4j.properties @@ -1,5 +1,15 @@ # Root logger option -log4j.rootLogger=INFO +log4j.rootLogger=INFO, stdout + +# Other logger options +log4j.logger.mcm.global=INFO, mcm.global +log4j.additivity.mcm.global=false +log4j.logger.mcm.staff=INFO, mcm.staff +log4j.additivity.mcm.staff=false + +# stdout +log4j.appender.stdout=org.apache.log4j.ConsoleAppender +log4j.appender.stdout.layout=org.apache.log4j.SimpleLayout # Redirect log messages to a log file, support file rolling. log4j.appender.mcm.global=org.apache.log4j.RollingFileAppender