Created
March 28, 2012 15:25
-
-
Save jamiew/2227268 to your computer and use it in GitHub Desktop.
Revisions
-
jamiew created this gist
Mar 28, 2012 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,6 @@ # config/environments/production.rb # We're on Heroku, just output straight to STDOUT # This is required because we're using Unicorn: https://github.com/ryanb/cancan/issues/511#issuecomment-3643266 config.logger = Logger.new(STDOUT) config.logger.level = Logger.const_get(ENV['LOG_LEVEL'] ? ENV['LOG_LEVEL'].upcase : 'INFO')