Skip to content

Commit

Permalink
Remove verbose debug logger (elastic#102318)
Browse files Browse the repository at this point in the history
This commit removes a debug logger which can be overly verbose.
  • Loading branch information
jakelandis committed Nov 16, 2023
1 parent d5c20b4 commit eddeadb
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 @@ -92,9 +91,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 eddeadb

Please sign in to comment.