Getting Rails logs to appear in Foreman output
You can add the following entry to your Procfile and you will see the standard development Rails log flow by in amongst the Foreman output too:
log: tail -f site/log/development.log
Written by John McDowall
Related protips
2 Responses
So - what does this do when you deploy, to say, Heroku?
over 1 year ago
·
Show your development log :-)
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Rails
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#