Capistrano log level
问题 I've set my Capistrano configuration's log level to error to prevent verbose output. In deploy.rb I've added set :log_level, :error . This works great. However, when I run commands via execute , it isn't printed as it's being written under the log level of DEBUG . How can I get the output of execute commands to be printed out? I am able to use capture with the combination of puts to output it, but this doesn't help when I have to stream the logs. 回答1: You can do this by defining the following