Vsan Vc Cluster Health System Vsan Health Set Log Level
Set the vSAN health log level which will be taken effect immediately.
This setting will be refreshed and reverted to default INFO log level after vCenter system or health service is restarted. Setting the default log level as INFO in production because higher levels lead to too much log volume (reduced performance and too quick log rotation), while lower levels will not have enough information for troubleshooting by VMware support.
Required privileges: Global.Settings
The unique identifier for the managed object to which the method attaches; the serialized managed object reference for a request has the form moType/moId
, in this case VsanVcClusterHealthSystem/{moId}
.
The vSphere release schema. The current specification covers vSphere 9.0.0.0 APIs.
"VsanHealthSetLogLevelRequestType Object"
The log level to set. Unset will set the log level to the default log level as INFO. See all log levels through VsanHealthLogLevelEnumEnum
No Content
Failure
"VimFault Object"
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/vsan/VsanVcClusterHealthSystem/{moId}/VsanHealthSetLogLevel