tab/lib/capistrano/tasks/logs.cap

9 lines
168 B
Text
Raw Permalink Normal View History

2015-09-08 14:14:24 +02: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