From 2481cae6f572bc95e7e701582e2207f92c509f91 Mon Sep 17 00:00:00 2001 From: Igor Ngouagna Date: Thu, 22 Jun 2017 14:49:44 +0200 Subject: [PATCH] log fetchcontext not found on a class as DEBUG instead of WARN --- .../src/main/java/org/elasticsearch/mapping/QueryHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elasticsearch-mapping/src/main/java/org/elasticsearch/mapping/QueryHelper.java b/elasticsearch-mapping/src/main/java/org/elasticsearch/mapping/QueryHelper.java index 1fa0fb6..ace2536 100644 --- a/elasticsearch-mapping/src/main/java/org/elasticsearch/mapping/QueryHelper.java +++ b/elasticsearch-mapping/src/main/java/org/elasticsearch/mapping/QueryHelper.java @@ -535,7 +535,7 @@ private String[][] includeExcludes(String fetchContext) { includes.addAll(sourceFetchContext.getIncludes()); excludes.addAll(sourceFetchContext.getExcludes()); } else { - LOGGER.warn("Unable to find fetch context <" + fetchContext + "> for class <" + clazz.getName() + ">. It will be ignored."); + LOGGER.debug("Unable to find fetch context <" + fetchContext + "> for class <" + clazz.getName() + ">. It will be ignored."); } } }