The local syslog option has a catch. If you only enable it, nothing may end up in your share.
Settings, Syslog Server lets you keep the log on the array or cache, so the boot drive is spared. You set the Local syslog server to Enabled and choose a Local syslog folder. The docs suggest a cache-only or preferred share, which is best on an SSD.
Settings > Syslog Server
Local syslog server: Enabled
Local syslog folder: a cache share
Remote syslog server: the IP address of this server
The last line matters. The docs call it the loopback method: put your own server’s IP address in the Remote syslog server field. Without that, the syslog is not saved to the chosen share, and boot events are missed too.
You can also set rotation, with a file size and a number of files, so the log does not grow forever. I like this better than mirroring to the boot drive, because the storage can take the writes.
One caveat from the docs: logs saved this way are not part of the standard diagnostics zip. Attach them separately when you ask for help. They are also not anonymized.
Further reading: Unraid docs: Capture diagnostics and logs, On this site: never copy between a user share and a disk share with the same folder name, On this site: mirror the syslog to the boot drive, but only for a few days
Going deeper: Guide: your Unraid cache is full and Docker stopped, how to find out why and fix it