Put confd server in debug mode

Hello,
I need to sniff communication between application and the confd server any way to do it ?
I think that some extrat argument must be added to confd command inorder to get log output.

Thanks !

Set the third argument to confd_init() to CONFD_PROTO_TRACE like this:

confd_init(argv[0], stderr, CONFD_PROTO_TRACE);

CONFD_TRACE instead of CONFD_PROTO_TRACE gives slightly less information.

The extra flags to confd you think about is: confd --verbose --foreground ...