[V2] Replace RAILS_DEFAULT_LOGGER with Rails.logger

rebased #268.