lib/fluent/plugin/out_s3.rb in fluent-plugin-s3-0.8.4 vs lib/fluent/plugin/out_s3.rb in fluent-plugin-s3-0.8.5
- old
+ new
@@ -258,10 +258,10 @@
tmp = Tempfile.new("s3-", @tmp_dir)
tmp.binmode
begin
@compressor.compress(chunk, tmp)
tmp.rewind
- log.debug { "out_s3: write chunk: {key:#{chunk.key},tsuffix:#{tsuffix(chunk)}} to s3://#{@s3_bucket}/#{s3path}" }
+ log.debug { "out_s3: write chunk: {key:#{chunk.key},unique_id:#{unique_hex(chunk)}} to s3://#{@s3_bucket}/#{s3path}" }
put_options = {
:body => tmp,
:content_type => @compressor.content_type,
:storage_class => @storage_class,