Skip to content

Instantly share code, notes, and snippets.

@seenmyfate
Created May 1, 2014 09:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save seenmyfate/ef12494acd4a0e330613 to your computer and use it in GitHub Desktop.
Save seenmyfate/ef12494acd4a0e330613 to your computer and use it in GitHub Desktop.
More verbosity on specific Cap v3 tasks
task :debug do
SSHKit.configure { |config| config.output_verbosity = :debug }
end
task :reset_log_level do
SSHKit.configure { |config| config.output_verbosity = fetch(:log_level) }
end
before 'deploy:migrate', 'debug'
after 'deploy:migrate', 'reset_log_level'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment