public void logCrashedMemberWeights(GMSMembershipView<ID> oldView, Logger log) {
    ID lead = oldView.getLeadMember();
    for (ID mbr : crashedMembers) {
      if (!oldView.contains(mbr)) {
        continue;
      }
      int mbrWeight = mbr.getMemberWeight();
      switch (mbr.getVmKind()) {
        case ID.NORMAL_DM_TYPE:
          if (lead != null && mbr.equals(lead)) {
            mbrWeight += 15;
          } else {
            mbrWeight += 10;
          }
          break;
        case ID.LOCATOR_DM_TYPE:
          mbrWeight += 3;
          break;
        case ID.ADMIN_ONLY_DM_TYPE:
          break;
        default:
          throw new IllegalStateException("Unknown member type: " + mbr.getVmKind());
      }
      log.info("  " + mbr + " had a weight of " + mbrWeight);
    }
  }
logs the weight of failed members wrt the given previous view
geode-membership/src/main/java/org/apache/geode/distributed/internal/membership/gms/GMSMembershipView.java