diff options
author | Saku Ytti <saku@ytti.fi> | 2018-06-22 21:34:57 +0300 |
---|---|---|
committer | Saku Ytti <saku@ytti.fi> | 2018-06-22 21:34:57 +0300 |
commit | b0de92d5b4ad3a4e54b9af951a7f80874ebf2dac (patch) | |
tree | 4d0f3830ad0b0740d06d8482ede5f11962daee98 | |
parent | bd2c06fcc972560063499f25d685e11e7f16fc24 (diff) |
Use Oxidized.logger for ssh logger
From issue #1414
-rw-r--r-- | lib/oxidized/input/ssh.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/oxidized/input/ssh.rb b/lib/oxidized/input/ssh.rb index f881ff1..d97633d 100644 --- a/lib/oxidized/input/ssh.rb +++ b/lib/oxidized/input/ssh.rb @@ -123,7 +123,10 @@ module Oxidized port: (vars(:ssh_port) || 22).to_i, paranoid: secure, keepalive: true, - password: @node.auth[:password], timeout: Oxidized.config.timeout, number_of_password_prompts: 0 + logger: Oxidized.logger, + password: @node.auth[:password], + timeout: Oxidized.config.timeout, + number_of_password_prompts: 0 } auth_methods = vars(:auth_methods) || %w(none publickey password) |