1
0
Fork 0
mirror of https://github.com/capistrano/capistrano synced 2023-03-27 23:21:18 -04:00

allow log level to be set

This commit is contained in:
seenmyfate 2013-02-22 11:20:11 +00:00
parent 59a2520d96
commit cb9d793746
2 changed files with 2 additions and 0 deletions

View file

@ -28,6 +28,7 @@ module Capistrano
def configure_ssh_kit
SSHKit.configure do |sshkit|
sshkit.format = env.format
sshkit.output_verbosity = env.log_level
end
end

View file

@ -6,4 +6,5 @@ Capistrano::Env.configure do |config|
config.role :db, %w{example.com}
config.path '/var/www/my_app/current'
config.format :pretty # :dot
config.log_level :debug # :info
end