From 015d586bb22b57a86f097189b187a2145b1ecfd5 Mon Sep 17 00:00:00 2001 From: anhefti Date: Mon, 27 Apr 2020 12:17:10 +0200 Subject: [PATCH] update logging --- .../ch/ethz/seb/sebserver/SEBServerInit.java | 2 +- .../resources/config/application.properties | 3 ++- src/main/resources/logback-spring.xml | 24 +------------------ 3 files changed, 4 insertions(+), 25 deletions(-) diff --git a/src/main/java/ch/ethz/seb/sebserver/SEBServerInit.java b/src/main/java/ch/ethz/seb/sebserver/SEBServerInit.java index 844b0b96..5936b75e 100644 --- a/src/main/java/ch/ethz/seb/sebserver/SEBServerInit.java +++ b/src/main/java/ch/ethz/seb/sebserver/SEBServerInit.java @@ -22,7 +22,7 @@ import ch.ethz.seb.sebserver.webservice.WebserviceInfo; @Component public class SEBServerInit { - public static final Logger INIT_LOGGER = LoggerFactory.getLogger("SEB SERVER INIT"); + public static final Logger INIT_LOGGER = LoggerFactory.getLogger("ch.ethz.seb.SEB_SERVER_INIT"); private final Environment environment; private final WebserviceInfo webserviceInfo; diff --git a/src/main/resources/config/application.properties b/src/main/resources/config/application.properties index e0a8a417..33a799cc 100644 --- a/src/main/resources/config/application.properties +++ b/src/main/resources/config/application.properties @@ -29,7 +29,8 @@ server.servlet.session.tracking-modes=cookie ### Logging # Default logging level in the form "logging.level" + namespace=LEVEL -logging.level.ch=WARN +logging.level.ROOT=WARN +logging.level.ch=INFO # Log file name and location logging.file=/sebserver/log/sebserver.log diff --git a/src/main/resources/logback-spring.xml b/src/main/resources/logback-spring.xml index 15ee2a4c..9aa9e109 100644 --- a/src/main/resources/logback-spring.xml +++ b/src/main/resources/logback-spring.xml @@ -17,31 +17,10 @@ - + - - - - - - - - - - - - - - - - - - - - - @@ -66,7 +45,6 @@ -