[V3] Replace RAILS_DEFAULT_LOGGER with Rails.logger

rebased #284.