Skip to content

Commit 5bb05c3

Browse files
authored
Remove verbose debug logger (#102318) (#102421)
This commit removes a debug logger which can be overly verbose. (cherry picked from commit 19a762b)
1 parent cd08b1e commit 5bb05c3

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/input/search/ExecutableSearchInput.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
import org.elasticsearch.common.xcontent.XContentHelper;
1919
import org.elasticsearch.core.TimeValue;
2020
import org.elasticsearch.script.Script;
21-
import org.elasticsearch.search.SearchHit;
2221
import org.elasticsearch.xcontent.NamedXContentRegistry;
2322
import org.elasticsearch.xcontent.XContentParser;
2423
import org.elasticsearch.xcontent.XContentType;
@@ -91,9 +90,6 @@ SearchInput.Result doExecute(WatchExecutionContext ctx, WatcherSearchTemplateReq
9190

9291
if (logger.isDebugEnabled()) {
9392
logger.debug("[{}] found [{}] hits", ctx.id(), response.getHits().getTotalHits().value);
94-
for (SearchHit hit : response.getHits()) {
95-
logger.debug("[{}] hit [{}]", ctx.id(), hit.getSourceAsMap());
96-
}
9793
}
9894

9995
final Payload payload;

0 commit comments

Comments
 (0)