def log (self, bytes):
        if self.channel.addr:
            host = self.channel.addr[0]
            port = self.channel.addr[1]
        else:
            host = 'localhost'
            port = 0
        self.channel.server.logger.log (
                host,
                '%d - - [%s] "%s" %d %d\n' % (
                        port,
                        self.log_date_string (time.time()),
                        self.request,
                        self.reply_code,
                        bytes
                        )
                )
We need to override this because UNIX domain sockets return
dataset/ETHPy150Open XiaoMi/minos/supervisor/supervisor/http.py/deferring_http_request.log