@Override
  public void close() throws IOException {
    IOException firstEx = null;

    for (final Iterator<TestNode> it = nodes.iterator(); it.hasNext(); )
      try {
        final TestNode node = it.next();
        node.close();
        it.remove();
      } catch (final IOException e) {
        if (firstEx == null) firstEx = e;
        LOG.warn("Error closing.  Continuing", e);
      }
    if (firstEx != null)
      throw new IOException("Unable to close node resources.  Wrapping first exception.", firstEx);
  }
Logs the Peer connections for each node.
ethereum/eth/src/test/java/org/hyperledger/besu/ethereum/eth/transactions/TestNodeList.java