There are some netconfd-pro CLI parameters available that make debugging SIL and SIL-SA code simpler.
- --log-level=debug4: Turn on maximum debugging output
- --log-mirroring: sends log info to STDOUT in addition to a log file if --log=foo.log is used
- --log=filespec: Send log output to the specified file
- --message-indent=2: causes XML and JSON packets to be indented 2 spaces when sent so log files are more readable
- --no-watcher: disables the yp-watcher program from restarting the netconfd-pro process. Useful if the server is stopped at a breakpoint or it crashes and you want to recover some crash information.
- --access-control=off: Turn off NACM access control enforcement
- --no-config: Do not load the default server configuration at /etc/yumapro/netconfd-pro.conf
- --idle-timeout=0: Turn off the idle timeout for client sessions
- --subsys-timeout=0: Turn off the message response timeout for subsystems, Useful for debugging SIL-SA code
- --factory-startup: Load the factory default running configuration and save it to startup-cfg.xml
- --superuser=fred: Set "fred" to be the superuser and bypass NACM access control
There are some yangcli-pro CLI parameters that make using this client easier when debugging:
- --log-level=debug4: Turn on maximum debugging output
- --message-indent=2: causes XML and JSON packets to be indented 2 spaces when sent so log files are more readable
- --timeout=0: Turn off the idle timeout for NETCONF or RESTCONF sessions