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
endWritten by nhm tanveer hossain khan (hasan)
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
 #Ruby 
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#

 
 
 
 
