Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Fix Heroku cedar app logging with Rails 3.1 and Unicorn
# config/environments/production.rb
# We're on Heroku, just output straight to STDOUT
# This is required because we're using Unicorn:
config.logger =
config.logger.level = Logger.const_get(ENV['LOG_LEVEL'] ? ENV['LOG_LEVEL'].upcase : 'INFO')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment