To enable log filtering and exclude a log expression:
root via console or SSH.vmsyslog.conf file :# cp /etc/vmsyslog.conf /etc/vmsyslog.orig /etc/vmsyslog.conf and add the line:enable_logfilters = true /etc/vmware/logfilters file and add the log expression to exclude using the format:numLogs | ident | logRegexp/etc/vmsyslog.conf.d/*.conf files for all available values.vmkernel.log that can be safely filtered.logfilters including these expressions:0 | vmkernel | 0x1a.* H:0x0 D:0x2 P:0x0 Valid sense data: 0x5 0x2[04] 0x0
0 | vmkernel | 0x85.* H:0x0 D:0x2 P:0x0 Valid sense data: 0x5 0x20 0x0
0 | vmkernel | 0x12.* H:0x0 D:0x2 P:0x0 Valid sense data: 0x5 0x24 0x0
0 | vmkernel | 0x9e.* H:0x0 D:0x2 P:0x0 Valid sense data: 0x5 0x20 0x0
0 | vmkernel | bad CDB .* scsi_op=0x9e
0 | vmkernel | 0x4d.* H:0x0 D:0x2 P:0x0 Valid sense data: 0x5 0x20 0x0# esxcli system syslog reload