Skip to content

Commit

Permalink
add logging for RowConverter.close() (#115)
Browse files Browse the repository at this point in the history
  • Loading branch information
elliVM authored Nov 13, 2024
1 parent 4d40630 commit 39d6c62
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/com/teragrep/pth_06/task/s3/RowConverter.java
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,8 @@ private byte[] eventToSource() {
}

public void close() throws IOException {
final String logName = bucket + "/" + path;
LOGGER.info("S3FileHandler.close() on log: <{}> on offset <{}>", logName, currentOffset);
if (inputStream != null) {
inputStream.close();
}
Expand Down

0 comments on commit 39d6c62

Please sign in to comment.