Writing to the Rails log
RAILS_DEFAULT_LOGGER.error('log message')
…will write to the log file of the current environment.
RAILS_DEFAULT_LOGGER.error('log message')
…will write to the log file of the current environment.