jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject svn commit: r1522953 - /jena/trunk/jena-arq/src/main/java/com/hp/hpl/jena/query/ARQ.java
Date Fri, 13 Sep 2013 14:31:02 GMT
Author: andy
Date: Fri Sep 13 14:31:02 2013
New Revision: 1522953

URL: http://svn.apache.org/r1522953
Log:
remove warning that explain logging is not enabled; can cause spurious WARN messages itself

Modified:
    jena/trunk/jena-arq/src/main/java/com/hp/hpl/jena/query/ARQ.java

Modified: jena/trunk/jena-arq/src/main/java/com/hp/hpl/jena/query/ARQ.java
URL: http://svn.apache.org/viewvc/jena/trunk/jena-arq/src/main/java/com/hp/hpl/jena/query/ARQ.java?rev=1522953&r1=1522952&r2=1522953&view=diff
==============================================================================
--- jena/trunk/jena-arq/src/main/java/com/hp/hpl/jena/query/ARQ.java (original)
+++ jena/trunk/jena-arq/src/main/java/com/hp/hpl/jena/query/ARQ.java Fri Sep 13 14:31:02 2013
@@ -70,11 +70,11 @@ public class ARQ
      */
     public static final Symbol symLogExec           = ARQConstants.allocSymbol("logExec")
;
     
-    /** Get the currentl global execution logging setting */  
+    /** Get the currently global execution logging setting */  
     public static Explain.InfoLevel getExecutionLogging() { return (Explain.InfoLevel)ARQ.getContext().get(ARQ.symLogExec)
; }
     
     /** Set execution logging - logging is to logger "com.hp.hpl.jena.arq.exec" at level
INFO.
-     * An appropriate logging configuration is also required.
+     *  An appropriate logging configuration is also required.
      */
     public static void setExecutionLogging(Explain.InfoLevel infoLevel)
     {
@@ -85,8 +85,8 @@ public class ARQ
         }
         
         ARQ.getContext().set(ARQ.symLogExec, infoLevel) ;
-        if ( ! getExecLogger().isInfoEnabled() )
-            getExecLogger().warn("Attempt to enable execution logging but the logger '"+logExecName+"'
is not logging at level INFO") ;
+//        if ( ! getExecLogger().isInfoEnabled() )
+//            getExecLogger().warn("Attempt to enable execution logging but the logger '"+logExecName+"'
is not logging at level INFO") ;
     }
 
     /** IRI for ARQ */  



Mime
View raw message