Hello, when I restart Home Assistant, or when the Raspberry reboots, the home-assitant.log file is deleted and created new, and in this way i loose what happened before the restart.
As soon as I am experiencing a problem that crashes the system, i would like to know what happened last before reboot.
Is there a way to avoid log cancellation at startup?
I have HA Core 2021.6.5.
This has been a long standing feature request. Please vote.
If you are using an SD card you can remove it after the crash and look at the file on a Linux PC or Windows PC running DiskInternals LinuxReader (free).