Skip to content

Commit

Permalink
[INGLONG-2756][agent]Add more logs when sending data to proxy #2756 (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
EMsnap authored Feb 27, 2022
1 parent 903e8a8 commit c5b3c19
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,8 @@ private class AgentSenderCallback implements SendMessageCallback {
public void onMessageAck(SendResult result) {
// if send result is not ok, retry again.
if (result == null || !result.equals(SendResult.OK)) {
LOGGER.warn("send groupId {}, streamId {}, jobId {}, dataTime {} fail with times {}",
groupId, streamId, jobId, dataTime, retry);
LOGGER.warn("send groupId {}, streamId {}, jobId {}, dataTime {} fail with times {}, "
+ "error {}", groupId, streamId, jobId, dataTime, retry, result);
sendBatch(jobId, groupId, streamId, bodyList, retry + 1, dataTime);
return;
}
Expand Down

0 comments on commit c5b3c19

Please sign in to comment.