X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/857f0f460b3cee78454519f9764a4091204bc1a6..4e64291839d45a0c660fc84f11a6c4c811cf8f21:/app/models/trace.rb diff --git a/app/models/trace.rb b/app/models/trace.rb index 601a4506f..b13ce84d2 100644 --- a/app/models/trace.rb +++ b/app/models/trace.rb @@ -70,16 +70,13 @@ class Trace < ActiveRecord::Base def large_picture f = File.new(large_picture_name, "rb") - logger.info "large picture file: '#{f.path}', bytes: #{File.size(f.path)}" data = f.sysread(File.size(f.path)) - logger.info "have read data, bytes: '#{data.length}'" f.close data end def icon_picture f = File.new(icon_picture_name, "rb") - logger.info "icon picture file: '#{f.path}'" data = f.sysread(File.size(f.path)) f.close data