Created
May 20, 2011 19:25
-
-
Save mgauthier/983588 to your computer and use it in GitHub Desktop.
Rails w/ Unicorn: Log to console
This file contains 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 characters
#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
+1 Thanks this does works