VMware Cloud Community
sxnxr
Commander
Commander

Reset logging level to default

I was asked by vmware support to change the root logger level to debug on all 4 of my nodes for the analytic logging but like an idiot i didnt read the mail correctly and set all logs to debug as in the red box below (was meant to change the setting to the left of the red box).

I have since changed it to info as not to fill up my logs

logging level.png

I can change them back one by one but there are over 70 components in each node and i have 4 nodes. Does anyone know of a way to set them back to default without me having to go through them one by one.

0 Kudos
5 Replies
LucianoPatrão

Hi,

This will set log level to info

# Set Hostd logging level to info (default is verbose)

Get-VMHost | Get-AdvancedSetting -Name Config.HostAgent.log.level | Set-AdvancedSetting -Value "info" -Confirm:$false

Luciano Patrão

VCP-DCV, VCAP-DCV Design 2023, VCP-Cloud 2023
vExpert vSAN, NSX, Cloud Provider, Veeam Vanguard
Solutions Architect - Tech Lead for VMware / Virtual Backups

________________________________
If helpful Please award points
Thank You
Blog: https://www.provirtualzone.com | Twitter: @Luciano_PT
0 Kudos
sxnxr
Commander
Commander

This does not look like what i am after as if i am not mistaken the Hosdd service is a ESXi service not a vrops one. My problem is i set the logging to info but what them set back to default level.

But to that end there does not seem to be a way to do so so i manually went through them and set them to match a fresh install copy of vrops.

0 Kudos
LucianoPatrão

Hi,

Well you did not stated was VMware vRealize Operations Smiley Happy

Luciano Patrão

VCP-DCV, VCAP-DCV Design 2023, VCP-Cloud 2023
vExpert vSAN, NSX, Cloud Provider, Veeam Vanguard
Solutions Architect - Tech Lead for VMware / Virtual Backups

________________________________
If helpful Please award points
Thank You
Blog: https://www.provirtualzone.com | Twitter: @Luciano_PT
0 Kudos
sxnxr
Commander
Commander

This is the vrops forum so i would expect only vrops questions. If it shows up somewhere different on another forum then not much i can do but thanks for the response anyway.

vrops.png

0 Kudos
LucianoPatrão

Hi,

Ahh yes sorry. This was in the main community page for vCenter Smiley Happy

Luciano Patrão

VCP-DCV, VCAP-DCV Design 2023, VCP-Cloud 2023
vExpert vSAN, NSX, Cloud Provider, Veeam Vanguard
Solutions Architect - Tech Lead for VMware / Virtual Backups

________________________________
If helpful Please award points
Thank You
Blog: https://www.provirtualzone.com | Twitter: @Luciano_PT
0 Kudos