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:
parent
59a2520d96
commit
cb9d793746
2 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue