How to see subscriptions run time?

Hi Team,

I have an application which registers with confd to notify when certain paths in running database changes.
I would like to see all the registrations run time(after confd & application started executing), how do I ?

Thanks in advance,
Kamal

Hi,
See for example the developer log with log level set to at least debug.

Is there any utility to check(run time) the same ?

If you would just like to check if there are subscribers connected to ConfD you can for example run:
$ confd --status

If you are referring to getting notifications at runtime, you can listen to developer log events using for example:
$CONFD_DIR/examples.confd/misc/notifications/confd_notifications -D

ConfD has built-in support of the tailf-confd-monitoring YANG module which includes information on the registered CDB subscribers which you can query at runtime. An example output when accessed through netconf-console for the intro/1-2-3 example is as follows:

$ netconf-console --get -x /confd-state/internal/cdb/client
<?xml version="1.0" encoding="UTF-8"?>
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="1">
  <data>
    <confd-state xmlns="http://tail-f.com/yang/confd-monitoring">
      <internal>
        <cdb>
          <client>
            <name>./dhcpd_conf</name>
            <info>14555/3</info>
            <type>subscriber</type>
            <subscription>
              <datastore>running</datastore>
              <priority>3</priority>
              <id>6</id>
              <path>/dhcp</path>
            </subscription>
          </client>
        </cdb>
      </internal>
    </confd-state>
  </data>
</rpc-reply>