Skip to content

Commit

Permalink
out_s3: add debug log for when completed to write chunk (#447)
Browse files Browse the repository at this point in the history
Signed-off-by: Shizuo Fujita <[email protected]>
  • Loading branch information
Watson1978 authored Nov 18, 2024
1 parent 6dd241e commit 58855ad
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/fluent/plugin/out_s3.rb
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,8 @@ def write(chunk)
end
@bucket.object(s3path).put(put_options)

log.debug "out_s3: completed to write chunk #{dump_unique_id_hex(chunk.unique_id)} with metadata #{chunk.metadata} to s3://#{@s3_bucket}/#{s3path}"

@values_for_s3_object_chunk.delete(chunk.unique_id)

if @warn_for_delay
Expand Down

0 comments on commit 58855ad

Please sign in to comment.