Sun, 01 Apr 2018 18:25:31 +0200
minor changes to logging output
--- a/src/java/de/uapcore/lightpit/AbstractLightPITServlet.java Sun Apr 01 18:16:47 2018 +0200 +++ b/src/java/de/uapcore/lightpit/AbstractLightPITServlet.java Sun Apr 01 18:25:31 2018 +0200 @@ -163,9 +163,10 @@ ); } - LOG.info("{} {} maps to {}", + LOG.debug("{} {} maps to {}::{}", mapping.get().method(), requestPath, + getClass().getSimpleName(), method.getName() ); } else {
--- a/src/java/de/uapcore/lightpit/ModuleManager.java Sun Apr 01 18:16:47 2018 +0200 +++ b/src/java/de/uapcore/lightpit/ModuleManager.java Sun Apr 01 18:25:31 2018 +0200 @@ -32,7 +32,6 @@ import de.uapcore.lightpit.entities.ModuleDao; import java.sql.Connection; import java.sql.SQLException; -import java.util.Collection; import java.util.Collections; import java.util.HashMap; import java.util.List; @@ -183,7 +182,7 @@ LOG.warn("No datasource present. Cannot sync module information with database."); } } else { - LOG.debug("Module information clean - no synchronization required."); + LOG.trace("Module information clean - no synchronization required."); } }
--- a/src/java/log4j2.properties Sun Apr 01 18:16:47 2018 +0200 +++ b/src/java/log4j2.properties Sun Apr 01 18:25:31 2018 +0200 @@ -29,7 +29,7 @@ appender.console.type = Console appender.console.name = STDOUT appender.console.layout.type = PatternLayout -appender.console.layout.pattern = %d{ISO8601} [%p] %m %n +appender.console.layout.pattern = %d{ISO8601} [%highlight{%p}] %c{1}: %m %n rootLogger.appenderRef.stdout.ref = STDOUT