diff --git a/src/main/java/com/andrewlalis/perfin/data/search/JdbcEntitySearcher.java b/src/main/java/com/andrewlalis/perfin/data/search/JdbcEntitySearcher.java index a1e9bbe..7e2d46f 100644 --- a/src/main/java/com/andrewlalis/perfin/data/search/JdbcEntitySearcher.java +++ b/src/main/java/com/andrewlalis/perfin/data/search/JdbcEntitySearcher.java @@ -75,7 +75,14 @@ public class JdbcEntitySearcher implements EntitySearcher { sqlBuilder.append('\n').append(pagingSql); } String sql = sqlBuilder.toString(); - logger.info("Searching with query:\n{}\nWith arguments: {}", sql, baseQueryAndArgs.second().stream().map(Pair::second).map(Object::toString).collect(Collectors.joining(", "))); + logger.debug( + "Searching with query:\n{}\nWith arguments: {}", + sql, + baseQueryAndArgs.second().stream() + .map(Pair::second) + .map(Object::toString) + .collect(Collectors.joining(", ")) + ); try (var stmt = conn.prepareStatement(sql)) { applyArgs(stmt, baseQueryAndArgs.second()); ResultSet rs = stmt.executeQuery();