Last Updated: February 25, 2016
·
825
· panfilovdenis

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