Lower verbosity in SimpletxDomRead 25/61625/5
authorVratko Polak <vrpolak@cisco.com>
Mon, 14 Aug 2017 15:45:22 +0000 (17:45 +0200)
committerRobert Varga <nite@hq.sk>
Mon, 4 Sep 2017 11:09:36 +0000 (11:09 +0000)
Info on such big objects really makes the log hard to navigate.

Change-Id: I794e06766377ddd6e09e3f2f4142719d6049ac84
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
benchmark/dsbenchmark/src/main/java/org/opendaylight/dsbenchmark/simpletx/SimpletxDomRead.java

index 536e77e..2ee2aee 100644 (file)
@@ -70,7 +70,7 @@ 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++;

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.