[NO ISSUE][TEST] Reduce INFO verbosity on poll exception

Change-Id: Id47101eeb96677ea94651c125f698a5dfffe3854
Reviewed-on: https://asterix-gerrit.ics.uci.edu/2370
Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Murtadha Hubail <mhubail@apache.org>
Tested-by: Michael Blow <mblow@apache.org>
diff --git a/asterixdb/asterix-app/src/test/java/org/apache/asterix/test/common/TestExecutor.java b/asterixdb/asterix-app/src/test/java/org/apache/asterix/test/common/TestExecutor.java
index eeea05a..bae1a21 100644
--- a/asterixdb/asterix-app/src/test/java/org/apache/asterix/test/common/TestExecutor.java
+++ b/asterixdb/asterix-app/src/test/java/org/apache/asterix/test/common/TestExecutor.java
@@ -1308,9 +1308,11 @@
                         e = ee;
                     }
                     if (e instanceof ComparisonException) {
-                        LOGGER.log(Level.INFO, "Comparison failure on poll: " + e.getMessage());
+                        LOGGER.info("Comparison failure on poll: {}", e::getMessage);
+                    } else if (LOGGER.isDebugEnabled()) {
+                        LOGGER.debug("Received exception on poll", e);
                     } else {
-                        LOGGER.log(Level.INFO, "received exception on poll", e);
+                        LOGGER.info("Received exception on poll: {}", e::toString);
                     }
                     responsesReceived++;
                     if (isExpected(e, cUnit)) {