code: def set_level(self, level, realms):
          
          self.level = level
          if not self.level:
              logger.info("- %s", self.get_name())
          else:
              logger.info(" %s %s", '+' * self.level, self.get_name())
          self.all_sub_members = []
          self.all_sub_members_names = []
          for child in sorted(self.realm_members):
              child = realms.find_by_name(child)
              if not child:
                  continue
  
              self.all_sub_members.append(child.uuid)
              self.all_sub_members_names.append(child.get_name())
              grand_children = child.set_level(self.level + 1, realms)
              for grand_child in grand_children:
                  if grand_child in self.all_sub_members_names:
                      continue
                  grand_child = realms.find_by_name(grand_child)
                  if grand_child:
                      self.all_sub_members_names.append(grand_child.get_name())
                      self.all_sub_members.append(grand_child.uuid)
          return self.all_sub_members_names
docs: Set the realm level in the realms hierarchy
  
          :return: None