diff options
Diffstat (limited to 'app/models/exim_log.rb')
-rw-r--r-- | app/models/exim_log.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/app/models/exim_log.rb b/app/models/exim_log.rb index 6bdcdf9c2..80535ab41 100644 --- a/app/models/exim_log.rb +++ b/app/models/exim_log.rb @@ -68,7 +68,6 @@ class EximLog < ActiveRecord::Base for email in emails info_request = InfoRequest.find_by_incoming_email(email) if !info_request.nil? - #STDERR.puts "adding log for " + info_request.url_title + " from " + file_name + " line " + line exim_log = EximLog.new exim_log.info_request = info_request exim_log.exim_log_done = done @@ -112,14 +111,13 @@ class EximLog < ActiveRecord::Base raise "unexpected parsing of exim line" end - #STDERR.puts "check_recent_requests_have_been_sent test: " + exim_log.line # debugging found = true end end if !found # It's very important the envelope from is set for avoiding spam filter reasons - this # effectively acts as a check for that. - STDERR.puts("failed to find request sending Exim line for request id " + ir.id.to_s + " " + ir.url_title + " (check envelope from is being set to request address in Ruby, and load-exim-logs crontab is working)") # *** don't comment out this STDERR line, it is the point of the function! + $stderr.puts("failed to find request sending Exim line for request id " + ir.id.to_s + " " + ir.url_title + " (check envelope from is being set to request address in Ruby, and load-exim-logs crontab is working)") # *** don't comment out this STDERR line, it is the point of the function! ok = false end end |