summaryrefslogtreecommitdiffstats
path: root/vespaclient-container-plugin
diff options
context:
space:
mode:
Diffstat (limited to 'vespaclient-container-plugin')
-rwxr-xr-xvespaclient-container-plugin/src/main/java/com/yahoo/storage/searcher/GetSearcher.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/vespaclient-container-plugin/src/main/java/com/yahoo/storage/searcher/GetSearcher.java b/vespaclient-container-plugin/src/main/java/com/yahoo/storage/searcher/GetSearcher.java
index 5f4be5939a5..42ca9d45599 100755
--- a/vespaclient-container-plugin/src/main/java/com/yahoo/storage/searcher/GetSearcher.java
+++ b/vespaclient-container-plugin/src/main/java/com/yahoo/storage/searcher/GetSearcher.java
@@ -98,7 +98,7 @@ public class GetSearcher extends Searcher {
}
public boolean handleReply(Reply reply, int numPending) {
- if (reply.getTrace().getLevel() > 0) {
+ if ((reply.getTrace().getLevel() > 0) && log.isLoggable(LogLevel.DEBUG)) {
String str = reply.getTrace().toString();
log.log(LogLevel.DEBUG, str);
}