Troubleshooting ConfD and NETCONF API
For security reasons, by default, ESC disables ConfD's developer log and netconf trace log.
Use the following two logs for debugging.
$ sudo vim /opt/cisco/esc/esc_database/esc_production_confd.conf
Change the following manually in the following log:
<netconfTraceLog>
<enabled>true</enabled>
<filename>/var/log/esc/confd/netconf.trace</filename>
<format>pretty</format>
</netconfTraceLog>
Change this section to enable developers log:
Change both enabled and file.enabled → true.
<developerLog>
<enabled>true</enabled>
<file>
<enabled>true</enabled>
<name>/var/log/esc/confd/devel.log</name>
</file>
<syslog>
<enabled>false</enabled>
</syslog>
</developerLog>