I'm trying to capture capistrano's output with tee in order to watch and
persist its output. But the file is being created with no content at
all. How can I make something like this work?
$ cap deploy | tee "`date +%s`-deploy.txt"
Best regards,
manuel.
--
* You received this message because you are subscribed to the Google Groups "Capistrano" group.
* To post to this group, send email to capis...@googlegroups.com
* To unsubscribe from this group, send email to capistrano+...@googlegroups.com For more options, visit this group at http://groups.google.com/group/capistrano?hl=en
Hi Manuel,By default Capistrano uses STDERROR to print messages. You can change it passing -l (or --logger) parameter to change this behaviour. If you run "cap -h" you will see:
-l [STDERR|STDOUT|file] Choose logger method. STDERR used by default.--loggerRegards
El 19 de mayo de 2011 03:42, Manuel Vázquez Acosta <manu...@uci.cu> escribió:
Hi,
I'm trying to capture capistrano's output with tee in order to watch and persist its output. But the file is being created with no content at all. How can I make something like this work?
$ cap deploy | tee "`date +%s`-deploy.txt"
Best regards,
manuel.
--
* You received this message because you are subscribed to the Google Groups "Capistrano" group.
* To post to this group, send email to capis...@googlegroups.com
* To unsubscribe from this group, send email to capistrano+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/capistrano?hl=en
* To unsubscribe from this group, send email to capistrano+...@googlegroups.com For more options, visit this group at http://groups.google.com/group/capistrano?hl=en
* To unsubscribe from this group, send email to capistrano+...@googlegroups.com For more options, visit this group at http://groups.google.com/group/capistrano?hl=en