Stream your remote capistrano files to local
Thursday, August 31st, 2006
From errtheblog
To send your remote log files to your local console, just add this task to deploy.rb and do rake remote:exec ACTION=tail_logs
PLAIN TEXT
RUBY:
desc "tail production log files"
task :tail_logs, :roles => :app do
run "tail -f #{shared_path}/log/production.log" do |channel, stream, data|
puts # for an extra line break before the host name
puts [...]



