ONTAP Tools 10: Enabling debug logging for select services
Applies to
- ONTAP Tools for VMware vSphere (OTV) 10.5
Description
In ONTAP Tools 10.5 (OTV), the following new API calls were introduced:

These API calls allow you to selectively toogle on debug logging for individual services without having to restart those services.
It is still possible to enable debug logging for all services through Application Configuration > 2) Change LOG level for ONTAP tools services in the maintenance console for the appliance. However doing so has some downsides:
- OTV will need to perform a rolling restart of all service pods on the appliance in order for the debug logging to take effect
- This rolling restart will take several minutes
With the new 10.5 /virtualization/api/v1/app-management/log-settings APIs, you can now selectively modify log level for individual services if a more targetted approach to troubleshooting is needed.
