app/services/ddr/batch/monitor_batch_started.rb in ddr-batch-1.5.1 vs app/services/ddr/batch/monitor_batch_started.rb in ddr-batch-1.6.0.rc1
- old
+ new
@@ -23,9 +23,10 @@
batch.logfile.clear
end
def log_batch_start(batch)
logger = Ddr::Batch::Log.logger(batch.id)
+ logger.info "Collection: #{batch.collection_title}" if batch.collection_title.present?
logger.info "Batch id: #{batch.id}"
logger.info "Batch name: #{batch.name}" if name
logger.info "Batch size: #{batch.batch_objects.size}"
logger.close
end