tap/lib/capistrano/tasks/logs.cap
2014-11-25 10:00:55 +01:00

8 lines
168 B
Text

namespace :logs do
desc "tail rails logs"
task :tail do
on roles(:app) do
execute "tail -f #{shared_path}/log/#{fetch(:rails_env)}.log"
end
end
end