diff --git a/solr/core/src/java/org/apache/solr/search/Grouping.java b/solr/core/src/java/org/apache/solr/search/Grouping.java index 266cbdba196..0d28b7d4c6f 100644 --- a/solr/core/src/java/org/apache/solr/search/Grouping.java +++ b/solr/core/src/java/org/apache/solr/search/Grouping.java @@ -461,7 +461,10 @@ private void searchWithTimeLimiter(final Query filterQuery, Collector collector) searcher.search(QueryUtils.combineQueryAndFilter(query, filterQuery), collector); } catch (TimeLimitingCollector.TimeExceededException | ExitableDirectoryReader.ExitingReaderException x) { - log.warn("Query: {}; ", query, x); + // INFO log the (possibly quite long) query object separately + log.info("Query: {}; ", query); + // to make WARN logged exception content more visible + log.warn("Query: {}; ", query.getClass().getName(), x); qr.setPartialResults(true); } }