To change the default settings, run with the desired parameter:
# esxcli vsan trace set
-l|--logtosyslog Boolean value to enable or disable logging urgent traces to syslog.
-f|--numfiles=<long> Log file rotation for vSAN trace files.
-p|--path=<str> Path to store vSAN trace files.
-r|--reset When set to true, reset defaults for vSAN trace files.
-s|--size=<long> Maximum size of vSAN trace files in MB.
For example, to reduce the number of files to rotate to 4 and maximum size to which these files can grow 200MB, run this command:
# esxcli vsan trace set -f 4 -s 200
Note: If you reduce the number of files, the older files that are not compliant are removed immediately.