For chatty commands, particularly commands that generate status by  
using a character without a linefeed I redirect their output to a log  
directory on the target box;

I can then cat them if I want to see results via the cap run, use  
cap's download command to bring them to the box that's running the  
deploy, or use cap's logger command to output my own message.

Generally I leave all logged items on the target box so they can be  
used to help troubleshoot issues on that box at a later time.

Don't forget you can use "tee" to echo to cap console and create a  
logfile on the target box at the same time.

On Jan 23, 2009, at 7:14 AM, Gerhardus Geldenhuis 
<[email protected] 
 > wrote:

>
> Hi
> Is there a way to display a string rather than the command executed
> with run in a task. Some of my run commands are quite involved and
> does not look very intuitive or clear on the screen. I would rather
> show the operator a simple output with a log file somewhere else that
> stores all the output.
>
> Regards
> >

--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to