Bug 9060: Minor mdsaltrace_config.xml /this/will/never/exist 24/62624/2
authorMichael Vorburger <vorburger@redhat.com>
Mon, 4 Sep 2017 13:24:42 +0000 (15:24 +0200)
committerTom Pantelis <tompantelis@gmail.com>
Mon, 4 Sep 2017 17:54:15 +0000 (17:54 +0000)
Found during use, and avoids having to do this workaround:

log:set ERROR org.opendaylight.controller.md.sal.trace.dom.impl

Change-Id: Iff5fb5eee8d938f1ec6dcb33d5d8a6ec58f2a2b9
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
opendaylight/md-sal/mdsal-trace/api/src/main/resources/initial/mdsaltrace_config.xml
opendaylight/md-sal/mdsal-trace/api/src/main/yang/mdsaltrace.yang

index 9dfd362..27c8bdd 100644 (file)
@@ -1,6 +1,14 @@
 <config xmlns="urn:opendaylight:params:xml:ns:yang:mdsaltrace">
+    <!--  Both registration-watches as well as write-watches will
+          log EVERYTHING by default, if we do not constrain any paths;
+          therefore we set a fake one to get nothing out-of-the-box;
+          please remove this first fake one when you configure this
+          to watch what you are really interested in instead: -->
+    <registration-watches>/this/will/never/exist</registration-watches>
     <!-- <registration-watches>/neutron-router-dpns/router-dpn-list</registration-watches> -->
     <!-- <registration-watches>/tunnels_state/state-tunnel-list</registration-watches> -->
+
+    <write-watches>/this/will/never/exist</write-watches>
     <!-- <write-watches> /NetworkTopology/Topology</write-watches> -->
 
     <!-- Enable or disable transaction context debug. This will preserve the call site trace for
index 3761fa9..60e0d91 100644 (file)
@@ -18,7 +18,6 @@ module mdsaltrace {
     }
 
     container config {
-        // TODO leaf enabled ...
         leaf-list registration-watches {
             type string;
         }

©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.