Hello, Not sure if it is exactly what you need but, You may refer the below KB for step-by-step guide on how to set alternate SysLog location of ESXi hosts if this is what you need..
Configuration Issues: System logs on host are stored on non-persistent storage.
Thanks