That did it, thank you so much! I think I'm going to be blogging soon about my experience customizing the output and I'll post it here.
On Wednesday, March 14, 2012 7:35:45 PM UTC-5, Rafa G. wrote: > > I found it! In Configuration class logger has an accessor, then you can > access to logger from your deploy.rb file directly. > > Just add to your deploy.rb: > > logger.level = 0 > > > Or maybe you prefer(it's the same): > > logger.level = Logger::IMPORTANT # or Capistrano::Logger::IMPORTANT > > > You can find Logger class under Capistrano module, but you don't need to > specify it because you're under Capistrano namespace. > > Good night > > 2012/3/14 jondavidjohn <[email protected]> > >> Good thought... after looking through the Capistrano source it looks like >> '[:verbose]' *is* the option that controls it from the shell option '-q' >> >> But setting it with `default_run_options` is not working as I would also >> expect it to. >> >> Thanks. >> >> >> On Monday, March 12, 2012 6:21:43 AM UTC-5, Rafa G. wrote: >>> >>> Hi jon, >>> >>> I think you can do it adding this line(not tested): >>> >>> default_run_options[:verbose] = 0 >>> >>> >>> Tell me if it works, regards >>> >>> 2012/3/9 jondavidjohn <[email protected]> >>> >>>> Ok, This solution worked well, but is it possible to tell cap to run >>>> quietly (-q) from the deploy.rb file??? >>>> >>>> On Mar 8, 11:49 am, jondavidjohn <[email protected]> wrote: >>>> > figured out how to do this in case anyone else is interested... >>>> > >>>> > alias cap='cap -q' >>>> > >>>> > Then just echo out what you want with the given 'after' and 'before' >>>> > >>>> > before 'deploy:task' do >>>> > print "Some Task........." >>>> > end >>>> > >>>> > after 'deploy:task >>>> > put "Done" >>>> > end >>>> > >>>> > etc... >>>> > >>>> > On Mar 7, 1:41 pm, jondavidjohn <[email protected]> wrote: >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > > Is it possible to customize (or disable) the Capistrano output? >>>> > >>>> > > It seems way too robust in terms of the information it is trying to >>>> > > communicate... Seems like it would be helpful to be able to have an >>>> > > option to turn it off, and allow you to write your own on completion >>>> > > of a task based on success/failure, etc... >>>> > >>>> > > I really only care about seeing the full command it is running maybe >>>> > > the first few times I deploy, and then only if it fails. >>>> >>>> -- >>>> * You received this message because you are subscribed to the Google >>>> Groups "Capistrano" group. >>>> * To post to this group, send email to [email protected] >>>> * To unsubscribe from this group, send email to capistrano+unsubscribe@ >>>> **googlegroups.com <capistrano%[email protected]> For >>>> more options, visit this group at http://groups.google.com/** >>>> group/capistrano?hl=en<http://groups.google.com/group/capistrano?hl=en> >>>> >>> >>> -- >> * You received this message because you are subscribed to the Google >> Groups "Capistrano" group. >> * To post to this group, send email to [email protected] >> * To unsubscribe from this group, send email to >> [email protected] For more options, visit this >> group at http://groups.google.com/group/capistrano?hl=en >> > > -- * You received this message because you are subscribed to the Google Groups "Capistrano" group. * To post to this group, send email to [email protected] * To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/capistrano?hl=en
