hailin0 commented on code in PR #8263: URL: https://github.com/apache/seatunnel/pull/8263#discussion_r1880166577
########## seatunnel-connectors-v2/connector-elasticsearch/src/main/java/org/apache/seatunnel/connectors/seatunnel/elasticsearch/client/EsRestClient.java: ########## @@ -332,13 +335,13 @@ private ScrollResult getDocsFromScrollRequest(String endpoint, String requestBod throw new ElasticsearchConnectorException( ElasticsearchConnectorErrorCode.SCROLL_REQUEST_ERROR, String.format( - "POST %s response status code=%d,request boy=%s", + "POST %s response status code=%d,request body(truncate)=%s", endpoint, response.getStatusLine().getStatusCode(), requestBody)); } } catch (IOException e) { throw new ElasticsearchConnectorException( ElasticsearchConnectorErrorCode.SCROLL_REQUEST_ERROR, - String.format("POST %s error,request boy=%s", endpoint, requestBody), + String.format("POST %s error,request body(truncate)=%s", endpoint, requestBody), Review Comment: only truncate bulk writer request -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@seatunnel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org