mirror of https://github.com/apache/nifi.git
NIFI-4663 This closes #2317. Change log for document not found from warn to debug as we have a NOT_FOUND relationship
Signed-off-by: joewitt <joewitt@apache.org>
This commit is contained in:
parent
0222bf8ef1
commit
9736cb9d33
|
@ -176,7 +176,7 @@ public class FetchElasticsearch5 extends AbstractElasticsearch5TransportClientPr
|
|||
final GetResponse getResponse = getRequestBuilder.execute().actionGet();
|
||||
|
||||
if (getResponse == null || !getResponse.isExists()) {
|
||||
logger.warn("Failed to read {}/{}/{} from Elasticsearch: Document not found",
|
||||
logger.debug("Failed to read {}/{}/{} from Elasticsearch: Document not found",
|
||||
new Object[]{index, docType, docId});
|
||||
|
||||
// We couldn't find the document, so penalize it and send it to "not found"
|
||||
|
|
|
@ -176,7 +176,7 @@ public class FetchElasticsearch extends AbstractElasticsearchTransportClientProc
|
|||
final GetResponse getResponse = getRequestBuilder.execute().actionGet();
|
||||
|
||||
if (getResponse == null || !getResponse.isExists()) {
|
||||
logger.warn("Failed to read {}/{}/{} from Elasticsearch: Document not found",
|
||||
logger.debug("Failed to read {}/{}/{} from Elasticsearch: Document not found",
|
||||
new Object[]{index, docType, docId});
|
||||
|
||||
// We couldn't find the document, so penalize it and send it to "not found"
|
||||
|
|
|
@ -253,7 +253,7 @@ public class FetchElasticsearchHttp extends AbstractElasticsearchHttpProcessor {
|
|||
}
|
||||
session.transfer(flowFile, REL_SUCCESS);
|
||||
} else {
|
||||
logger.warn("Failed to read {}/{}/{} from Elasticsearch: Document not found",
|
||||
logger.debug("Failed to read {}/{}/{} from Elasticsearch: Document not found",
|
||||
new Object[]{index, docType, docId});
|
||||
|
||||
// We couldn't find the document, so send it to "not found"
|
||||
|
|
Loading…
Reference in New Issue