Skip to content

Instantly share code, notes, and snippets.

@mgauthier
Created May 20, 2011 19:25
Show Gist options
  • Save mgauthier/983588 to your computer and use it in GitHub Desktop.
Save mgauthier/983588 to your computer and use it in GitHub Desktop.
Rails w/ Unicorn: Log to console
#Put this in application.rb, or in a rake task initialize code
if defined?(Rails) && (Rails.env == 'development')
Rails.logger = Logger.new(STDOUT)
end
@samirahmed
Copy link

+1 Thanks this does works

@lailsonbm
Copy link

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment