SS-1652 Replaced deprecated RAILS_DEFAULT_LOGGER constant with Rails.logger

Ready for code review.