how to run rails logger in production code example Example: rails logger stdout Rails.logger = Logger.new(STDOUT)