ConfD User Community

Time elapsed for commit command


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.


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.


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


Thanks for helping on this.