lib/ssh.rb in forj-0.0.30 vs lib/ssh.rb in forj-0.0.31
- old
+ new
@@ -16,14 +16,19 @@
# limitations under the License.
require 'rubygems'
require 'require_relative'
+require_relative 'log.rb'
+include Logging
+
#
# ssh module
#
module Ssh
def connect(name, server)
+ msg = 'logging into %s : %s' % [name, server]
+ Logging.info(msg)
current_dir = Dir.pwd
Dir.chdir(current_dir + '/lib')
update = './ssh.sh -u'
connection = './ssh.sh %s %s' % [name, server]
\ No newline at end of file