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 2016/08/05 20:55:52 UTC
[3/3] jena git commit: Remove some unnecessary logging.
Remove some unnecessary logging.
Project: http://git-wip-us.apache.org/repos/asf/jena/repo
Commit: http://git-wip-us.apache.org/repos/asf/jena/commit/b5d4fcbe
Tree: http://git-wip-us.apache.org/repos/asf/jena/tree/b5d4fcbe
Diff: http://git-wip-us.apache.org/repos/asf/jena/diff/b5d4fcbe
Branch: refs/heads/master
Commit: b5d4fcbe0037995c99cb86e4f249044497f755cf
Parents: 5235b5f
Author: Andy Seaborne <an...@apache.org>
Authored: Fri Aug 5 21:55:26 2016 +0100
Committer: Andy Seaborne <an...@apache.org>
Committed: Fri Aug 5 21:55:26 2016 +0100
----------------------------------------------------------------------
.../org/apache/jena/fuseki/servlets/SPARQL_Query.java | 13 +++++--------
1 file changed, 5 insertions(+), 8 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/jena/blob/b5d4fcbe/jena-fuseki2/jena-fuseki-core/src/main/java/org/apache/jena/fuseki/servlets/SPARQL_Query.java
----------------------------------------------------------------------
diff --git a/jena-fuseki2/jena-fuseki-core/src/main/java/org/apache/jena/fuseki/servlets/SPARQL_Query.java b/jena-fuseki2/jena-fuseki-core/src/main/java/org/apache/jena/fuseki/servlets/SPARQL_Query.java
index dc2e89b..d9962a6 100644
--- a/jena-fuseki2/jena-fuseki-core/src/main/java/org/apache/jena/fuseki/servlets/SPARQL_Query.java
+++ b/jena-fuseki2/jena-fuseki-core/src/main/java/org/apache/jena/fuseki/servlets/SPARQL_Query.java
@@ -314,37 +314,34 @@ public abstract class SPARQL_Query extends SPARQL_Protocol
ResultSet rs = queryExecution.execSelect() ;
// Force some query execution now.
- //
// If the timeout-first-row goes off, the output stream has not
// been started so the HTTP error code is sent.
rs.hasNext() ;
// If we wanted perfect query time cancellation, we could consume
- // the result now
- // to see if the timeout-end-of-query goes off.
-
+ // the result now to see if the timeout-end-of-query goes off.
// rs = ResultSetFactory.copyResults(rs) ;
- action.log.info(format("[%d] exec/select", action.id)) ;
+ //action.log.info(format("[%d] exec/select", action.id)) ;
return new SPARQLResult(rs) ;
}
if ( query.isConstructType() ) {
Dataset dataset = queryExecution.execConstructDataset();
- action.log.info(format("[%d] exec/construct", action.id));
+ //action.log.info(format("[%d] exec/construct", action.id));
return new SPARQLResult(dataset);
}
if ( query.isDescribeType() ) {
Model model = queryExecution.execDescribe() ;
- action.log.info(format("[%d] exec/describe", action.id)) ;
+ //action.log.info(format("[%d] exec/describe", action.id)) ;
return new SPARQLResult(model) ;
}
if ( query.isAskType() ) {
boolean b = queryExecution.execAsk() ;
- action.log.info(format("[%d] exec/ask", action.id)) ;
+ //action.log.info(format("[%d] exec/ask", action.id)) ;
return new SPARQLResult(b) ;
}