def get_conn(self, auto_open=False):
        if self.scheme == "https":
            cls = HTTPSConnection
        else:
            cls = HTTPConnection
        conn = cls(self.interface(), self.PORT)
        # Automatically re-connect?
        conn.auto_open = auto_open
        conn.connect()
        return conn
Helper function to turn the simple logging kwargs into a `log_config`.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/cherrypy/cherrypy/test/webtest.py/WebCase.get_conn--crossover with--dataset/ETHPy150Open SmokinCaterpillar/pypet/pypet/pypetlogging.py/_change_logging_kwargs