diff options
author | Arne H Juul <arnej@yahoo-inc.com> | 2017-01-03 14:42:25 +0100 |
---|---|---|
committer | Arne H Juul <arnej@yahoo-inc.com> | 2017-01-03 14:42:25 +0100 |
commit | b8a97458e831dd40f1f10196d63c6d4e8cf6ee9f (patch) | |
tree | 6189a21f5ca559b327b88c4b4caa033957c363f1 /vespaclient-container-plugin | |
parent | 033dd952465ff295762df0e364c77b16fbe9b4a0 (diff) |
if tracing, debug print it
Diffstat (limited to 'vespaclient-container-plugin')
-rwxr-xr-x | vespaclient-container-plugin/src/main/java/com/yahoo/storage/searcher/GetSearcher.java | 4 |
1 files changed, 4 insertions, 0 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 045df5558e5..b1db4017a95 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,6 +98,10 @@ public class GetSearcher extends Searcher { } public boolean handleReply(Reply reply, int numPending) { + if (reply.getTrace().getLevel() > 0) { + String str = reply.getTrace().toString(); + System.out.println(str); + } if (!reply.hasErrors()) { try { addDocumentHit(reply); |