Lower verbosity in SimpletxDomRead
[controller.git] / benchmark / dsbenchmark / src / main / java / org / opendaylight / dsbenchmark / simpletx / SimpletxDomRead.java
index 0edccbf3aff9b696b37b4d4652f705896246dfb7..2ee2aee84c2df3173755ef07cb9457615e7a31c8 100644 (file)
@@ -36,13 +36,13 @@ public class SimpletxDomRead extends DatastoreAbstractWriter {
                            final int innerListElem, final long writesPerTx, final DataStore dataStore) {
         super(StartTestInput.Operation.DELETE, outerListElem, innerListElem, writesPerTx, dataStore);
         this.domDataBroker = domDataBroker;
-        LOG.info("Created simpleTxDomRead");
+        LOG.debug("Created simpleTxDomRead");
 
     }
 
     @Override
     public void createList() {
-        LOG.info("SimpletxDomRead: creating data in the data store");
+        LOG.debug("SimpletxDomRead: creating data in the data store");
         // Dump the whole list into the data store in a single transaction
         // with <outerListElem> PUTs on the transaction
         SimpletxDomWrite dd = new SimpletxDomWrite(domDataBroker,
@@ -70,13 +70,13 @@ public class SimpletxDomRead extends DatastoreAbstractWriter {
                     Optional<NormalizedNode<?,?>> optionalDataObject = submitFuture.checkedGet();
                     if (optionalDataObject != null && optionalDataObject.isPresent()) {
                         NormalizedNode<?, ?> ret = optionalDataObject.get();
-                        LOG.info("/n" + String.valueOf(ret));
+                        LOG.trace("optionalDataObject is {}", ret);
                         txOk++;
                     } else {
                         txError++;
                         LOG.warn("optionalDataObject is either null or .isPresent is false");
                     }
-                } catch (ReadFailedException e) {
+                } catch (final ReadFailedException e) {
                     LOG.warn("failed to ....", e);
                     txError++;
                 }