code: def get_connection_logging(self, loadbalancer):
          
          uri = "/loadbalancers/%s/connectionlogging" % utils.get_id(loadbalancer)
          resp, body = self.api.method_get(uri)
          ret = body.get("connectionLogging", {}).get("enabled", False)
          return ret
docs: Returns the connection logging setting for the given load balancer.