View Rails logs through Capistrano task
namespace :log do
desc "Watch tailf environment log"
task :tailf do
stream("tailf /u/apps/#{application}/current/log/#{rails_env}.log")
end
end
Written by Denis
Related protips
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#