diff --git a/solr/solrj/src/test/org/apache/solr/client/solrj/io/stream/CloudAuthStreamTest.java b/solr/solrj/src/test/org/apache/solr/client/solrj/io/stream/CloudAuthStreamTest.java index e5426fd970f..a139a340f05 100644 --- a/solr/solrj/src/test/org/apache/solr/client/solrj/io/stream/CloudAuthStreamTest.java +++ b/solr/solrj/src/test/org/apache/solr/client/solrj/io/stream/CloudAuthStreamTest.java @@ -808,7 +808,9 @@ public class CloudAuthStreamTest extends SolrCloudTestCase { log.trace("TupleStream: {}", tupleStream); tupleStream.open(); for (Tuple t = tupleStream.read(); !t.EOF; t = tupleStream.read()) { - log.trace("Tuple: {}", t.getFields()); + if (log.isTraceEnabled()) { + log.trace("Tuple: {}", t.getFields()); + } tuples.add(t); } } finally {