code: protected void logPermitStatus(int nodeId, String prefix) {
          String durationString = "";
          if(permitAcquisitionTimeMs >= 0) {
              long durationMs = System.currentTimeMillis() - permitAcquisitionTimeMs;
              permitAcquisitionTimeMs = -1;
              durationString = " in " + TimeUnit.MILLISECONDS.toSeconds(durationMs) + " seconds.";
          }
          taskLog(prefix + nodeId + durationString);
      }
docs: Helper method to pretty print progress and timing info.
  
  @param nodeId node ID for which donor permit is required