ConfD User Community

Time elapsed for commit command


#1

Hi,
I am looking for APIs or events to get time elapsed in confd part when issue commit command to my log system.
Thanks for helping on this.


#2

You can use confd_notifications_connect() or confd_notifications_connect2() and subscribe for CONFD_NOTIF_COMMIT_PROGRESS events.

The example misc/notifications demonstrates how to do it.


#3

Also, the developerLogLevel set to “trace” in confd.conf would give you that information.


#4

Thanks for helping on this.