WTH Do logs disappear when restarting?

Occasionally HA simply becomes unresponsive, can’t get into the machine at all so I have to kill power.

It would be great if the logs were rotated to another file to try and work out why it falls over.

Duplicates