private static String getLogMessageDetail(final int nbAttempt, final Path p,
    final long startWaiting) {
    return "attempt=" + nbAttempt + " on file=" + p + " after "
      + (EnvironmentEdgeManager.currentTime() - startWaiting) + "ms";
  }
Returns Detail to append to any log message around lease recovering.
hbase-asyncfs/src/main/java/org/apache/hadoop/hbase/util/RecoverLeaseFSUtils.java