jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject [1/2] jena git commit: Minor tidyup
Date Thu, 23 Jul 2015 09:12:17 GMT
Repository: jena
Updated Branches:
  refs/heads/master d38ba281b -> 9d2b415ff


Minor tidyup


Project: http://git-wip-us.apache.org/repos/asf/jena/repo
Commit: http://git-wip-us.apache.org/repos/asf/jena/commit/edc9d88b
Tree: http://git-wip-us.apache.org/repos/asf/jena/tree/edc9d88b
Diff: http://git-wip-us.apache.org/repos/asf/jena/diff/edc9d88b

Branch: refs/heads/master
Commit: edc9d88b1779ca819eabf270d2fb099283168c14
Parents: d38ba28
Author: Andy Seaborne <andy@apache.org>
Authored: Thu Jul 23 10:09:49 2015 +0100
Committer: Andy Seaborne <andy@apache.org>
Committed: Thu Jul 23 10:09:49 2015 +0100

----------------------------------------------------------------------
 .../org/apache/jena/atlas/logging/LogCtl.java   | 45 ++++++++++----------
 1 file changed, 23 insertions(+), 22 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jena/blob/edc9d88b/jena-base/src/main/java/org/apache/jena/atlas/logging/LogCtl.java
----------------------------------------------------------------------
diff --git a/jena-base/src/main/java/org/apache/jena/atlas/logging/LogCtl.java b/jena-base/src/main/java/org/apache/jena/atlas/logging/LogCtl.java
index 218e0a8..f8e4b61 100644
--- a/jena-base/src/main/java/org/apache/jena/atlas/logging/LogCtl.java
+++ b/jena-base/src/main/java/org/apache/jena/atlas/logging/LogCtl.java
@@ -165,34 +165,35 @@ public class LogCtl {
     }
 
     private static String log4Jsetup = StrUtils.strjoinNL
-        ( "## Plain output to stdout"
-         ,"log4j.appender.jena.plain=org.apache.log4j.ConsoleAppender"
-         ,"log4j.appender.jena.plain.target=System.out"
-         ,"log4j.appender.jena.plain.layout=org.apache.log4j.PatternLayout"
-         ,"log4j.appender.jena.plain.layout.ConversionPattern=%m%n"
+        ( "## Command default log4j setup"
          
-         ,"## Plain output with level, to stderr"
-         ,"log4j.appender.jena.plainlevel=org.apache.log4j.ConsoleAppender"
-         ,"log4j.appender.jena.plainlevel.target=System.err"
-         ,"log4j.appender.jena.plainlevel.layout=org.apache.log4j.PatternLayout"
-         ,"log4j.appender.jena.plainlevel.layout.ConversionPattern=%-5p %m%n"
-
-         ,"## Everything"
-         ,"log4j.rootLogger=INFO, jena.plainlevel"
-         ,"log4j.logger.com.hp.hpl.jena=WARN"
-         ,"log4j.logger.org.apache.jena=WARN"
-         ,"log4j.logger.org.apache.jena.tdb.loader=INFO"
-
-         , "## Parser output"
-         , "log4j.additivity.org.apache.jena.riot=false"
-         , "log4j.logger.org.apache.jena.riot=INFO, jena.plainlevel"
+          ,"## Plain output with level, to stderr"
+          ,"log4j.appender.jena.plainlevel=org.apache.log4j.ConsoleAppender"
+          ,"log4j.appender.jena.plainlevel.target=System.err"
+          ,"log4j.appender.jena.plainlevel.layout=org.apache.log4j.PatternLayout"
+          ,"log4j.appender.jena.plainlevel.layout.ConversionPattern=%-5p %m%n"
+
+//          , "## Plain output to stdout"
+//          ,"log4j.appender.jena.plain=org.apache.log4j.ConsoleAppender"
+//          ,"log4j.appender.jena.plain.target=System.out"
+//          ,"log4j.appender.jena.plain.layout=org.apache.log4j.PatternLayout"
+//          ,"log4j.appender.jena.plain.layout.ConversionPattern=%m%n"
+
+          ,"## Everything"
+          ,"log4j.rootLogger=INFO, jena.plainlevel"
+          ,"log4j.logger.com.hp.hpl.jena=WARN"
+          ,"log4j.logger.org.apache.jena=WARN"
+          ,"log4j.logger.org.apache.jena.tdb.loader=INFO"
+
+          , "## Parser output"
+          , "log4j.additivity.org.apache.jena.riot=false"
+          , "log4j.logger.org.apache.jena.riot=INFO, jena.plainlevel"
          ) ;
     // ---- java.util.logging - because that's always present.
     static String defaultProperties = StrUtils.strjoinNL
         (
          // Handlers - output
-         // All (comma
-         // separated)
+         // All (comma separated)
          // "handlers=java.util.logging.ConsoleHandler,org.apache.jena.atlas.logging.java.ConsoleHandlerStdout",
     
          // Atlas.


Mime
View raw message