How to capture or log incoming RESTCONF request

ConfD audit.log logs only the RESTCONF header. It does not log/capture payload/body given in the request. Is there any possibility to capture the full RESTCONF request using any ConfD APIs?

I looked at the “Notifications” chapter in user guide and also misc/notifications/ confd_notifications.c in examples. All these describing the events delivered from ConfD to the applications.

The logno CONFD_RESTCONF_REQUEST defined for confd_audit_notification type CONFD_NOTIF_AUDIT is not having the RESTCONF payload in the message.

You can enable the confd.conf /confdConfig/logs/webuiAccessLog/trafficLog.