lib/bixby-agent/app.rb
def start_websocket_client
    # make sure log level is still set correctly here
    Bixby::Log.setup_logger(:level => Logging.appenders["file"].level)
    logger.info "Started Bixby Agent #{Bixby::Agent::VERSION}"
    @client = Bixby::WebSocket::Client.new(Bixby.agent.manager_ws_uri, AgentHandler)
    trap_signals()
    @client.start
  end
def start_websocket_client
    # make sure log level is still set correctly here
    Bixby::Log.setup_logger(:level => Logging.appenders["file"].level)
    logger.info "Started Bixby Agent #{Bixby::Agent::VERSION}"
    @client = Bixby::WebSocket::Client.new(Bixby.agent.manager_ws_uri, AgentHandler)
    trap_signals()
    @client.start
  end
def start_websocket_client # make sure log level is still set correctly here Bixby :: Log . setup_logger ( :level => Logging . appenders [ "file" ] . level ) logger . info "Started Bixby Agent #{Bixby::Agent::VERSION}" @client = Bixby :: WebSocket :: Client . new ( Bixby . agent . manager_ws_uri , AgentHandler ) trap_signals ( ) @client . start end
Open the WebSocket channel with the Manager

 NOTE: this call will not return!
Open the WebSocket channel with the Manager