converting log.info's to log.debug's in all the query runners

This commit is contained in:
bkoniden 2011-02-11 21:20:01 +00:00
parent f73b521a4e
commit 8923eaf09f
6 changed files with 15 additions and 15 deletions

View file

@ -188,7 +188,7 @@ public class CoPIGrantCountConstructQueryRunner {
before = System.currentTimeMillis();
log.info("CONSTRUCT query string : " + queryString);
log.debug("CONSTRUCT query string : " + queryString);
Query query = null;
@ -209,7 +209,7 @@ public class CoPIGrantCountConstructQueryRunner {
}
after = System.currentTimeMillis();
log.info("Time taken to execute the CONSTRUCT query is in milliseconds: " + (after - before) );
log.debug("Time taken to execute the CONSTRUCT query is in milliseconds: " + (after - before) );
}

View file

@ -359,7 +359,7 @@ public class CoPIGrantCountQueryRunner implements QueryRunner<CoPIData> {
after = System.currentTimeMillis();
log.info("Time taken to execute the SELECT queries is in milliseconds: " + (after - before) );
log.debug("Time taken to execute the SELECT queries is in milliseconds: " + (after - before) );
return createQueryResult(resultSet);
}
@ -540,7 +540,7 @@ public class CoPIGrantCountQueryRunner implements QueryRunner<CoPIData> {
after = System.currentTimeMillis();
log.info("Time taken to iterate through the ResultSet of SELECT queries is in milliseconds: " + (after - before) );
log.debug("Time taken to iterate through the ResultSet of SELECT queries is in milliseconds: " + (after - before) );
return new CoPIData(egoNode, nodes, edges);
}

View file

@ -205,9 +205,9 @@ public class EntityPublicationCountQueryRunner implements QueryRunner<Entity> {
}
//TODO: return non-null value
// log.info("Returning entity that contains the following set of subentities: "+entity.getSubEntities().toString());
// log.debug("Returning entity that contains the following set of subentities: "+entity.getSubEntities().toString());
after = System.currentTimeMillis();
log.info("Time taken to iterate through the ResultSet of SELECT queries is in milliseconds: " + (after - before) );
log.debug("Time taken to iterate through the ResultSet of SELECT queries is in milliseconds: " + (after - before) );
return entity;
}
@ -296,7 +296,7 @@ public class EntityPublicationCountQueryRunner implements QueryRunner<Entity> {
after = System.currentTimeMillis();
log.info("Time taken to execute the SELECT queries is in milliseconds: " + (after - before) );
log.debug("Time taken to execute the SELECT queries is in milliseconds: " + (after - before) );
return createJavaValueObjects(resultSet);
}

View file

@ -99,7 +99,7 @@ public class EntitySubOrganizationTypesQueryRunner implements QueryRunner<Map<St
+ "}";
// log.info("\n SubOrganizationTypesQuery :" + sparqlQuery);
// log.debug("\n SubOrganizationTypesQuery :" + sparqlQuery);
return sparqlQuery;
@ -169,7 +169,7 @@ public class EntitySubOrganizationTypesQueryRunner implements QueryRunner<Map<St
// System.out.println("\n\nSub Organization Label Types Size --> " + subOrganizationLabelToTypes.size());
// System.out.println("\n\nPeople Label Types Size --> " + personLabelToTypes.size());
// log.info("Sub Organization Label Types Size : " + subEntityLabelToTypes.size());
// log.debug("Sub Organization Label Types Size : " + subEntityLabelToTypes.size());
return subEntityLabelToTypes;
//return (subOrganizationLabelToTypes.size() != 0 )? subOrganizationLabelToTypes : personLabelToTypes ;

View file

@ -279,7 +279,7 @@ public class EntityGrantCountConstructQueryRunner {
try{
query = QueryFactory.create(QueryConstants.getSparqlPrefixQuery() + queryString, SYNTAX);
// log.info("query: "+ queryString);
// log.debug("query: "+ queryString);
}catch(Throwable th){
log.error("Could not create CONSTRUCT SPARQL query for query " +
"string. " + th.getMessage());
@ -299,7 +299,7 @@ public class EntityGrantCountConstructQueryRunner {
after = System.currentTimeMillis();
// log.debug("Statements for constructed model of EntityGrantCount : "+ constructedModel.listStatements().toString());
log.info("Time taken to execute the CONSTRUCT queries is in milliseconds: " + (after - before) );
log.debug("Time taken to execute the CONSTRUCT queries is in milliseconds: " + (after - before) );
// constructedModel.write(System.out);
return constructedModel;
}

View file

@ -114,7 +114,7 @@ public class EntityGrantCountQueryRunner implements QueryRunner<Entity> {
before = System.currentTimeMillis();
while (resultSet.hasNext()) {
// log.info("Checking whether EntityGrantCount produced any resultset against the Constructed Model");
// log.debug("Checking whether EntityGrantCount produced any resultset against the Constructed Model");
QuerySolution solution = resultSet.nextSolution();
if (entity == null) {
@ -232,7 +232,7 @@ public class EntityGrantCountQueryRunner implements QueryRunner<Entity> {
}
after = System.currentTimeMillis();
log.info("Time taken to iterate through the ResultSet of SELECT queries is in milliseconds: " + (after - before) );
log.debug("Time taken to iterate through the ResultSet of SELECT queries is in milliseconds: " + (after - before) );
return entity;
}
@ -299,7 +299,7 @@ public class EntityGrantCountQueryRunner implements QueryRunner<Entity> {
//System.out.println("\n\nEntity Grant Count query is: "+ sparqlQuery);
// log.info("\nThe sparql query is :\n" + sparqlQuery);
// log.debug("\nThe sparql query is :\n" + sparqlQuery);
return sparqlQuery;
@ -333,7 +333,7 @@ public class EntityGrantCountQueryRunner implements QueryRunner<Entity> {
after = System.currentTimeMillis();
log.info("Time taken to execute the SELECT queries is in milliseconds: " + (after - before) );
log.debug("Time taken to execute the SELECT queries is in milliseconds: " + (after - before) );
return createJavaValueObjects(resultSet);
}