Skip to content

Commit

Permalink
Remove verbose debug logger (#102318) (#102421)
Browse files Browse the repository at this point in the history
This commit removes a debug logger which can be overly verbose.

(cherry picked from commit 19a762b)
  • Loading branch information
jakelandis committed Nov 21, 2023
1 parent cd08b1e commit 5bb05c3
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
import org.elasticsearch.common.xcontent.XContentHelper;
import org.elasticsearch.core.TimeValue;
import org.elasticsearch.script.Script;
import org.elasticsearch.search.SearchHit;
import org.elasticsearch.xcontent.NamedXContentRegistry;
import org.elasticsearch.xcontent.XContentParser;
import org.elasticsearch.xcontent.XContentType;
Expand Down Expand Up @@ -91,9 +90,6 @@ SearchInput.Result doExecute(WatchExecutionContext ctx, WatcherSearchTemplateReq

if (logger.isDebugEnabled()) {
logger.debug("[{}] found [{}] hits", ctx.id(), response.getHits().getTotalHits().value);
for (SearchHit hit : response.getHits()) {
logger.debug("[{}] hit [{}]", ctx.id(), hit.getSourceAsMap());
}
}

final Payload payload;
Expand Down

0 comments on commit 5bb05c3

Please sign in to comment.