code: public void logHeaderInfo(Map<String, String> parameters) {
          StringBuffer buffer = new StringBuffer("Recovery parameters:");
          for (Iterator<String> keys = parameters.keySet().iterator(); keys
                  .hasNext();) {
              Object key = keys.next();
              Object value = parameters.get(key);
              buffer.append("\n    ").append(key).append("=").append(value);
          }
          log(buffer.toString());
      }
docs: Concrete sub-classes should call this method from their constructor, or
  as soon as the log is ready for writing.