private void logDescriptors(List<VolumeDescriptor> descriptors){
  StringBuffer buf=new StringBuffer();
  buf.append(String.format(NEW_LINE));
  buf.append(String.format("Volume descriptors for RP: %n"));
  for (  VolumeDescriptor desc : descriptors) {
    Volume volume=_dbClient.queryObject(Volume.class,desc.getVolumeURI());
    buf.append(String.format("%n\t Volume Name: [%s] %n\t Descriptor Type: [%s] %n\t Full Descriptor Info: [%s] %n",volume.getLabel(),desc.getType(),desc.toString()));
  }
  buf.append(String.format(NEW_LINE));
  _log.info(buf.toString());
}

private void logDescriptors ( List < VolumeDescriptor > descriptors ) { StringBuffer buf = new StringBuffer ( ) ; buf . append ( String . format ( NEW_LINE ) ) ; buf . append ( String . format ( "Volume descriptors for RP: %n" ) ) ; for ( VolumeDescriptor desc : descriptors ) { Volume volume = _dbClient . queryObject ( Volume . class , desc . getVolumeURI ( ) ) ; buf . append ( String . format ( "%n\t Volume Name: [%s] %n\t Descriptor Type: [%s] %n\t Full Descriptor Info: [%s] %n" , volume . getLabel ( ) , desc . getType ( ) , desc . toString ( ) ) ) ; } buf . append ( String . format ( NEW_LINE ) ) ; _log . info ( buf . toString ( ) ) ; }
log the output from the descriptors created
