app/services/hyrax/valkyrie_persist_derivatives.rb in hyrax-4.0.0.beta1 vs app/services/hyrax/valkyrie_persist_derivatives.rb in hyrax-4.0.0.beta2

- old
+ new

@@ -25,10 +25,10 @@ # responds to #path -- here we only have a StringIO, so some # transformation is in order tmpfile = Tempfile.new(fileset_id, encoding: 'ascii-8bit') tmpfile.write stream.read - Rails.logger.debug "Uploading thumbnail for FileSet #{fileset_id} as #{filepath}" + Hyrax.logger.debug "Uploading thumbnail for FileSet #{fileset_id} as #{filepath}" Hyrax.config.derivatives_storage_adapter.upload( file: tmpfile, original_filename: filepath, resource: fileset )