Skip to content

Instantly share code, notes, and snippets.

@tncbbthositg
Forked from mgauthier/unicorn_logging.rb
Created July 31, 2014 00:17
Show Gist options
  • Save tncbbthositg/a2667e66a59a34acab50 to your computer and use it in GitHub Desktop.
Save tncbbthositg/a2667e66a59a34acab50 to your computer and use it in GitHub Desktop.
#Put this in application.rb, or in a rake task initialize code
if defined?(Rails) && (Rails.env == 'development')
Rails.logger = Logger.new(STDOUT)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment