Replaced RAILS_DEFAULT_LOGGER with Rails.logger