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 2023/04/08 22:35:39 UTC
[jena] branch main updated: Remove development code in Fuseki logging
This is an automated email from the ASF dual-hosted git repository.
andy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/jena.git
The following commit(s) were added to refs/heads/main by this push:
new 569fe3786c Remove development code in Fuseki logging
new dfb24a6cb1 Merge pull request #1837 from afs/fix-logging
569fe3786c is described below
commit 569fe3786ccb565816aaa69fe0c9436b758d92aa
Author: Andy Seaborne <an...@apache.org>
AuthorDate: Sat Apr 8 23:32:58 2023 +0100
Remove development code in Fuseki logging
---
.../src/main/java/org/apache/jena/fuseki/system/FusekiLogging.java | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/jena-fuseki2/jena-fuseki-core/src/main/java/org/apache/jena/fuseki/system/FusekiLogging.java b/jena-fuseki2/jena-fuseki-core/src/main/java/org/apache/jena/fuseki/system/FusekiLogging.java
index 86d54b3e7f..d8b58e3f50 100644
--- a/jena-fuseki2/jena-fuseki-core/src/main/java/org/apache/jena/fuseki/system/FusekiLogging.java
+++ b/jena-fuseki2/jena-fuseki-core/src/main/java/org/apache/jena/fuseki/system/FusekiLogging.java
@@ -63,9 +63,9 @@ public class FusekiLogging
"log4j2.properties"
};
- private static final boolean LogLogging = true ;
-// System.getenv("FUSEKI_LOGLOGGING") != null ||
-// System.getProperty("fuseki.loglogging") != null;
+ private static final boolean LogLogging =
+ System.getenv("FUSEKI_LOGLOGGING") != null ||
+ System.getProperty("fuseki.loglogging") != null;
private static boolean loggingInitialized = false;
@@ -146,7 +146,6 @@ public class FusekiLogging
if ( url != null ) {
try ( InputStream inputStream = url.openStream() ) {
String x = IO.readWholeFileAsUTF8(inputStream);
- System.err.println(x);
} catch (IOException ex) { IO.exception(ex); }
try ( InputStream inputStream = url.openStream() ) {