tap/lib/capistrano/tasks/logs.cap

9 lines
168 B
Text
Raw Normal View History

2014-11-25 10:00:55 +01:00
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