Hi,
Is there any way of changing all logs to WARNING level instead of the VERBOSE. I have tried advanced software configuration and it did not work.
So I tried the following,
http://www.getshifting.com/wiki/syslogesxi#hostd
This worked fine for most logs. However, the vmkernel messages are still set as default logging level - verbose??. I would like to know if there anyway of filtering this before sending it to the syslog server. Our syslog server is "so" overloaded with messages that it defeats the purpose.
Was/Is there esxcli kernelog cmd such as,
esxcli system kernellog setlevel --level
Following are some information from our server.
/etc/vmsyslog.conf.d # esxcli system syslog config get
Default Network Retry Timeout: 180
Local Log Output: /scratch/log
Local Log Output Is Configured: false
Local Log Output Is Persistent: false
Local Logging Default Rotation Size: 1024
Local Logging Default Rotations: 8
Log To Unique Subdirectory: false
Remote Host: udp://x.x.x.x:514
/etc/vmsyslog.conf.d # esxcli system version get
Product: VMware ESXi
Version: 5.5.0
Build: Releasebuild-1746018
Update: 1
/etc/vmsyslog.conf.d # esxcli system syslog config logger list
Description: Host Agent Probe
Destination: hostd-probe.log
ID: hostd-probe
Rotation Size: 1024
Rotations: 8
Description: vmkernel warnings and sysalerts (vmkwarning)
Destination: vmkwarning.log
ID: vmkwarning
Rotation Size: 1024
Rotations: 8
Description: Vprobe output
Destination: vprobe.log
ID: vprobe
Rotation Size: 1024
Rotations: 8
Description: Object Store Filesystem Daemon logs
Destination: osfsd.log
ID: osfsd
Rotation Size: 1024
Rotations: 8
Description: Vmkernel Device Manager logs
Destination: vmkdevmgr.log
ID: vmkdevmgr
Rotation Size: 1024
Rotations: 8
Description: SwapObj Daemon logs
Destination: swapobjd.log
ID: swapobjd
Rotation Size: 1024
Rotations: 8
Description: lacp logs
Destination: lacp.log
ID: lacp
Rotation Size: 1024
Rotations: 8
Description: vmkernel logs
Destination: vmkernel.log
ID: vmkernel
Rotation Size: 1024
Rotations: 8
Description: Authentication logs
Destination: auth.log
ID: auth
Rotation Size: 1024
Rotations: 8
Description: Storage DRS device injector log
Destination: sdrsinjector.log
ID: sdrsInjector
Rotation Size: 1024
Rotations: 8
Description: vmkeventd related logs
Destination: vmkeventd.log
ID: vmkeventd
Rotation Size: 1024
Rotations: 8
Description: Vsan Vasa Provider Daemon logs
Destination: vsanvpd.log
ID: vsanSoapServer
Rotation Size: 1024
Rotations: 8
Description: Vprobed logs
Destination: vprobed.log
ID: vprobed
Rotation Size: 1024
Rotations: 8
Description: Rhttpproxy logs
Destination: rhttpproxy.log
ID: rhttpproxy
Rotation Size: 1024
Rotations: 8
Description: Storage I/O Control log
Destination: storagerm.log
ID: storageRM
Rotation Size: 1024
Rotations: 8
Description: Log heartbeats (vmksummary)
Destination: vmksummary.log
ID: vmksummary
Rotation Size: 1024
Rotations: 8
Description: VMware AMQP daemon log
Destination: vmamqpd.log
ID: vmamqpd
Rotation Size: 1024
Rotations: 8
Description: Default syslog catch-all
Destination: syslog.log
ID: syslog
Rotation Size: 1024
Rotations: 8
Description: VMware Authorization daemon logs
Destination: vmauthd.log
ID: vmauthd
Rotation Size: 1024
Rotations: 8
Description: Host Profile trace logs
Destination: hostprofiletrace.log
ID: hostprofiletrace
Rotation Size: 1024
Rotations: 8
Description: esxupdate logs
Destination: esxupdate.log
ID: esxupdate
Rotation Size: 1024
Rotations: 8
Description: ESX shell logs
Destination: shell.log
ID: shell
Rotation Size: 1024
Rotations: 8
Description: CLOMD logs
Destination: clomd.log
ID: clomd
Rotation Size: 1024
Rotations: 8
Description: USB related logs
Destination: usb.log
ID: usb
Rotation Size: 1024
Rotations: 8
Description: Vobd logs
Destination: vobd.log
ID: vobd
Rotation Size: 1024
Rotations: 8
Description: DHCP client logs
Destination: dhclient.log
ID: dhclient
Rotation Size: 1024
Rotations: 8
Description: X.Org Xserver
Destination: Xorg.log
ID: Xorg
Rotation Size: 1024
Rotations: 8
Description: Fdm logs
Destination: fdm.log
ID: fdm
Rotation Size: 5120
Rotations: 10
Description: Vpxa logs
Destination: vpxa.log
ID: vpxa
Rotation Size: 5120
Rotations: 20
Description: Hostd logs
Destination: hostd.log
ID: hostd
Rotation Size: 10240
Rotations: 10
Thanks.