Method: TestGemTM::ProxyAgent#start_logging

Defined in:
lib/TestGemTM/ProxyAgent.rb

#start_loggingObject

sets server to start logging for the agent returns: None



42
43
44
45
46
47
48
49
50
51
# File 'lib/TestGemTM/ProxyAgent.rb', line 42

def start_logging
  begin
      puts "Trying to Start logging at #{_proxy_url} for device #{@device_ip}" if Calabash::Cucumber::Logging.full_console_logging?
      RestClient.post "#{_proxy_url}/start_logging?src_ip=#{@device_ip}", ''
      puts 'Success...!' if Calabash::Cucumber::Logging.full_console_logging?
      return true
  rescue
    return false
  end
end