Skip to content

Commit

Permalink
feat: 로깅 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
kariskan committed Aug 27, 2024
1 parent a5be26f commit 3fe9803
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ public void produce(InitiateMultipartUploadResult initResponse, String currentFi
throw ErrorCode.FILE_UPLOAD_FAILED.baseException();
}
log.info("current thread count: {}", ((ThreadPoolExecutor)executorService).getActiveCount());
log.info("current queue size: {}", ((ThreadPoolExecutor)executorService).getQueue().size());
executorService.execute(() -> {
log.info("currentThread: {}, partNumber: {}", Thread.currentThread().getId(), partNumber);
uploadPart(initResponse.getUploadId(), currentFileName, partNumber, contentBuffer, bufferLength, partETags);
Expand Down

0 comments on commit 3fe9803

Please sign in to comment.