You receive this message when your system stores its log files on non-persistent storage.
Example
When you use the advanced system parameter Syslog.global.logDir to configure the system log location, if you configure the system log location as temporary, for example [] /tmp, you get the esx.problem.syslog.nonpersistent message.
When the location for system logs is not configured, your system uses the scratch partition by default. If the scratch location is set to nonpersistent storage, such as /tmp, you get the esx.problem.syslog.nonpersistent message.
Impact
System logs are required for auditing and diagnostic purposes. If you do not store system logs permanently, for example on a datastore, they disappear after a reboot.
IMPORTANT NOTE for vSAN.
vSAN datastores should not be used for persistent logging.
It is not supported to configure a scratch location on a vSAN datastore.
Redirecting system logs to a vSAN object causes an ESXi host lock up (2147541)
Storing ESXi coredump and scratch partitions in vSAN (2074026)
Persistent Logging in a Virtual SAN Cluster
Creating a persistent scratch location for ESXi 7.x/6.x/5.x/4.x (1033696)
Note: To log to a datastore, the Syslog.global.logDir entry should be in the format of [Datastorename]/foldername. To log to the scratch partition set in the ScratchConfig.CurrentScratchLocation, the format is blank or []/foldername.
In vSphere Client, select the host in the inventory panel.
The directory should be specified as [datastorename] path_to_file where the path is relative to the datastore. For example, [datastore1] /systemlogs.
Note: ESXi server should be rebooted for the Scratch configuration changes to get updated.
The Current configuration location should match the Configured location to ensure the changes are successful.
If you see that a working host has its information for the scratch location in a UUID format:
/vmfs/volumes/xxxxxxxx-xxxxxxxx-xxxx-xxxxxxxxxxxx/foldername and want to find out what the "friendly" name is, as it would appear in your vCenter or host client view, you can: