Bug 9060: Minor mdsaltrace_config.xml /this/will/never/exist 82/66282/1
authorMichael Vorburger <vorburger@redhat.com>
Mon, 4 Sep 2017 13:24:42 +0000 (15:24 +0200)
committerMichael Vorburger <vorburger@redhat.com>
Wed, 6 Dec 2017 15:13:13 +0000 (15:13 +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

index 8e17c8b5feefd16e5e9b4ea914ad0d95b858cb0f..966d0aab217e4bfdc5743333542ecb8db65768a6 100644 (file)
@@ -1,5 +1,13 @@
 <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> -->
 </config>