Skip to content

Commit 2481cae

Browse files
author
Igor Ngouagna
committed
log fetchcontext not found on a class as DEBUG instead of WARN
1 parent 07e97a6 commit 2481cae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

elasticsearch-mapping/src/main/java/org/elasticsearch/mapping/QueryHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ private String[][] includeExcludes(String fetchContext) {
535535
includes.addAll(sourceFetchContext.getIncludes());
536536
excludes.addAll(sourceFetchContext.getExcludes());
537537
} else {
538-
LOGGER.warn("Unable to find fetch context <" + fetchContext + "> for class <" + clazz.getName() + ">. It will be ignored.");
538+
LOGGER.debug("Unable to find fetch context <" + fetchContext + "> for class <" + clazz.getName() + ">. It will be ignored.");
539539
}
540540
}
541541
}

0 commit comments

Comments
 (0)