# HG changeset patch # User Tom Gottfried # Date 1665408584 -7200 # Node ID 432934cda171f4a53ac589920d088c3ef7b0c14c # Parent 68c6fe74a276894679255d218cbe1a9486b8ab67 Fix logging setup _ Silence message about missing SLF4J implementation _ Route java.util.logging to Log4J (at least restlet is affected) _ Let messages of additional loggers pass to the root loggers appender (otherwise, they don't appear at all) diff -r 68c6fe74a276 -r 432934cda171 artifacts/bin/run.sh --- a/artifacts/bin/run.sh Thu Sep 22 16:37:32 2022 +0200 +++ b/artifacts/bin/run.sh Mon Oct 10 15:29:44 2022 +0200 @@ -21,5 +21,6 @@ -Dwsplgen.bin.path="$DIR/bin/wsplgen" \ -Dwsplgen.log.output=false \ -Dartifact.database.dir="$DIR/conf" \ + -Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager \ -Dlog4j2.configurationFile="file://$DIR/conf/log4j2.xml" \ $APP diff -r 68c6fe74a276 -r 432934cda171 artifacts/doc/conf/log4j2.xml --- a/artifacts/doc/conf/log4j2.xml Thu Sep 22 16:37:32 2022 +0200 +++ b/artifacts/doc/conf/log4j2.xml Mon Oct 10 15:29:44 2022 +0200 @@ -9,9 +9,9 @@ - - - - + + + + diff -r 68c6fe74a276 -r 432934cda171 backend/pom.xml --- a/backend/pom.xml Thu Sep 22 16:37:32 2022 +0200 +++ b/backend/pom.xml Mon Oct 10 15:29:44 2022 +0200 @@ -109,6 +109,18 @@ + + + + org.apache.logging.log4j + log4j-bom + 2.17.1 + import + pom + + + + org.dive4elements @@ -139,18 +151,29 @@ hibernate-jpa-2.0-api 1.0.1.Final + + org.apache.logging.log4j log4j-api - 2.17.1 org.apache.logging.log4j log4j-core - 2.17.1 runtime + org.apache.logging.log4j + log4j-slf4j-impl + runtime + + + org.apache.logging.log4j + log4j-jul + runtime + + + org.apache.commons commons-dbcp2 2.1.1