diff options
author | Elvin Efendi <elvin.efendiyev@gmail.com> | 2015-12-13 19:04:57 -0500 |
---|---|---|
committer | Elvin Efendi <elvin.efendiyev@gmail.com> | 2015-12-13 19:04:57 -0500 |
commit | 1fd8f795e40641356d0a4577744c197723b6a3a1 (patch) | |
tree | f505d91af55ee18837d0290f3d9ea7ff8531240b /lib/oxidized/input/telnet.rb | |
parent | 82db9fdd9c135a445a4839e39b245a9965091219 (diff) | |
parent | 1c4f886e883f947b649613a21955929fa6d7e94c (diff) |
Merge pull request #13 from Shopify/refactoring
Refactoring
Diffstat (limited to 'lib/oxidized/input/telnet.rb')
-rw-r--r-- | lib/oxidized/input/telnet.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/input/telnet.rb b/lib/oxidized/input/telnet.rb index b92d703..e9fd7d9 100644 --- a/lib/oxidized/input/telnet.rb +++ b/lib/oxidized/input/telnet.rb @@ -37,7 +37,7 @@ module Oxidized end def cmd cmd, expect=@node.prompt - Log.debug "Telnet: #{cmd} @#{@node.name}" + Oxidized.logger.debug "Telnet: #{cmd} @#{@node.name}" args = { 'String' => cmd } args.merge!({ 'Match' => expect, 'Timeout' => @timeout }) if expect @telnet.cmd args |