8dd_rg
Last Updated: February 25, 2016
·
584
· we4tech
Screen shot 2013 01 13 at 12.05.29 am

Capistrano Remote Log Tailing

I guess everyone knows about it, just sharing -

namespace :somestuff do
  task :log do
    on roles(:worker) do
      execute "tail -f /some-path-stuff/some-log-file.log"
    end
  end
end
Say Thanks
Respond