Troubleshooting ConfD and NETCONF API

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.

To manually enable these two logs, on an ESC VM, open the following ConfD's configuration file:
$ sudo vim /opt/cisco/esc/esc_database/esc_production_confd.conf

Change the following manually in the following log:

enabled → true.

<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>