You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2020/11/10 20:34:11 UTC
[jena] branch master updated: JENA-1989: Remove debug code;
correct initalization test
This is an automated email from the ASF dual-hosted git repository.
andy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jena.git
The following commit(s) were added to refs/heads/master by this push:
new 5223ffe JENA-1989: Remove debug code; correct initalization test
5223ffe is described below
commit 5223ffec980e5009f5c48bdac9c52d2477b37697
Author: Andy Seaborne <an...@apache.org>
AuthorDate: Tue Nov 10 20:34:04 2020 +0000
JENA-1989: Remove debug code; correct initalization test
---
.../org/apache/jena/fuseki/webapp/FusekiServerEnvironmentInit.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/jena-fuseki2/jena-fuseki-webapp/src/main/java/org/apache/jena/fuseki/webapp/FusekiServerEnvironmentInit.java b/jena-fuseki2/jena-fuseki-webapp/src/main/java/org/apache/jena/fuseki/webapp/FusekiServerEnvironmentInit.java
index 117f063..69a9f88 100644
--- a/jena-fuseki2/jena-fuseki-webapp/src/main/java/org/apache/jena/fuseki/webapp/FusekiServerEnvironmentInit.java
+++ b/jena-fuseki2/jena-fuseki-webapp/src/main/java/org/apache/jena/fuseki/webapp/FusekiServerEnvironmentInit.java
@@ -37,13 +37,12 @@ public class FusekiServerEnvironmentInit implements ServletContextListener {
// These do not touch Jena.
FusekiEnv.setEnvironment();
// The command line initializes Fuseki-full with FusekiLogging.setLogging()
- if ( FusekiLogging.hasInitialized() ) {
+ if ( ! FusekiLogging.hasInitialized() ) {
// If this is set, the webapp is controlling log4j setup via log4j-web and its own initialization.
// The logging file in in log4j2.properties in the webapp root directory.
String x = sce.getServletContext().getInitParameter(FusekiLogging.log4j2_web_configuration);
if ( x != null ) {
// https://logging.apache.org/log4j/2.x/manual/webapp.html
- System.err.println("log4jConfiguration = "+x);
FusekiLogging.markInitialized(true);
} else {
FusekiLogging.setLogging(FusekiEnv.FUSEKI_BASE);