diff --git a/src/edu/cornell/mannlib/vitro/webapp/visualization/freemarker/coprincipalinvestigator/CoPIGrantCountConstructQueryRunner.java b/src/edu/cornell/mannlib/vitro/webapp/visualization/freemarker/coprincipalinvestigator/CoPIGrantCountConstructQueryRunner.java index fbf869b6..d38dd96f 100644 --- a/src/edu/cornell/mannlib/vitro/webapp/visualization/freemarker/coprincipalinvestigator/CoPIGrantCountConstructQueryRunner.java +++ b/src/edu/cornell/mannlib/vitro/webapp/visualization/freemarker/coprincipalinvestigator/CoPIGrantCountConstructQueryRunner.java @@ -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) ); } diff --git a/src/edu/cornell/mannlib/vitro/webapp/visualization/freemarker/coprincipalinvestigator/CoPIGrantCountQueryRunner.java b/src/edu/cornell/mannlib/vitro/webapp/visualization/freemarker/coprincipalinvestigator/CoPIGrantCountQueryRunner.java index 9a6d1258..9f6d9d86 100644 --- a/src/edu/cornell/mannlib/vitro/webapp/visualization/freemarker/coprincipalinvestigator/CoPIGrantCountQueryRunner.java +++ b/src/edu/cornell/mannlib/vitro/webapp/visualization/freemarker/coprincipalinvestigator/CoPIGrantCountQueryRunner.java @@ -359,7 +359,7 @@ public class CoPIGrantCountQueryRunner implements QueryRunner { 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 { 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); } diff --git a/src/edu/cornell/mannlib/vitro/webapp/visualization/freemarker/entitycomparison/EntityPublicationCountQueryRunner.java b/src/edu/cornell/mannlib/vitro/webapp/visualization/freemarker/entitycomparison/EntityPublicationCountQueryRunner.java index 474b8609..799df65d 100644 --- a/src/edu/cornell/mannlib/vitro/webapp/visualization/freemarker/entitycomparison/EntityPublicationCountQueryRunner.java +++ b/src/edu/cornell/mannlib/vitro/webapp/visualization/freemarker/entitycomparison/EntityPublicationCountQueryRunner.java @@ -205,9 +205,9 @@ public class EntityPublicationCountQueryRunner implements QueryRunner { } //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 { 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); } diff --git a/src/edu/cornell/mannlib/vitro/webapp/visualization/freemarker/entitycomparison/EntitySubOrganizationTypesQueryRunner.java b/src/edu/cornell/mannlib/vitro/webapp/visualization/freemarker/entitycomparison/EntitySubOrganizationTypesQueryRunner.java index 9cda75e4..c5f1a317 100644 --- a/src/edu/cornell/mannlib/vitro/webapp/visualization/freemarker/entitycomparison/EntitySubOrganizationTypesQueryRunner.java +++ b/src/edu/cornell/mannlib/vitro/webapp/visualization/freemarker/entitycomparison/EntitySubOrganizationTypesQueryRunner.java @@ -99,7 +99,7 @@ public class EntitySubOrganizationTypesQueryRunner implements QueryRunner " + 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 ; diff --git a/src/edu/cornell/mannlib/vitro/webapp/visualization/freemarker/entitygrantcount/EntityGrantCountConstructQueryRunner.java b/src/edu/cornell/mannlib/vitro/webapp/visualization/freemarker/entitygrantcount/EntityGrantCountConstructQueryRunner.java index 4fea86a7..78c49365 100644 --- a/src/edu/cornell/mannlib/vitro/webapp/visualization/freemarker/entitygrantcount/EntityGrantCountConstructQueryRunner.java +++ b/src/edu/cornell/mannlib/vitro/webapp/visualization/freemarker/entitygrantcount/EntityGrantCountConstructQueryRunner.java @@ -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; } diff --git a/src/edu/cornell/mannlib/vitro/webapp/visualization/freemarker/entitygrantcount/EntityGrantCountQueryRunner.java b/src/edu/cornell/mannlib/vitro/webapp/visualization/freemarker/entitygrantcount/EntityGrantCountQueryRunner.java index 9d709a91..78102a69 100644 --- a/src/edu/cornell/mannlib/vitro/webapp/visualization/freemarker/entitygrantcount/EntityGrantCountQueryRunner.java +++ b/src/edu/cornell/mannlib/vitro/webapp/visualization/freemarker/entitygrantcount/EntityGrantCountQueryRunner.java @@ -114,7 +114,7 @@ public class EntityGrantCountQueryRunner implements QueryRunner { 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 { } 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 { //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 { 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); }