lib/backup/storage/ninefold.rb in backup-3.0.27 vs lib/backup/storage/ninefold.rb in backup-3.1.0
- old
+ new
@@ -66,11 +66,11 @@
remote_path = remote_path_for(@package)
directory = directory_for(remote_path, true)
files_to_transfer_for(@package) do |local_file, remote_file|
- Logger.message "#{storage_name} started transferring '#{ local_file }'."
+ Logger.info "#{storage_name} started transferring '#{ local_file }'."
File.open(File.join(local_path, local_file), 'r') do |file|
directory.files.create(:key => remote_file, :body => file)
end
end
@@ -85,10 +85,10 @@
if directory = directory_for(remote_path)
not_found = []
transferred_files_for(package) do |local_file, remote_file|
- Logger.message "#{storage_name} started removing " +
+ Logger.info "#{storage_name} started removing " +
"'#{ local_file }' from Ninefold."
if file = directory.files.get(remote_file)
file.destroy
else