def add_remote_log(self, server, level=logging.INFO):
        if server in ':':
            server, port = tuple(server.split(':', 1))
            port = int(port)
        else:
            port = logging.handlers.DEFAULT_TCP_LOGGING_PORT
            
        socket_handler = logging.handlers.SocketHandler(server, port)
        socket_handler.setLevel(level)
        self.logger.addHandler(socket_handler)
dataset/ETHPy150Open chineking/cola/cola/core/logs.py/Log.add_remote_log/swapped operands of `in`