Changed log info to log debug, changed connect endpoint after connection