Homeassistant on Raspberry pi 5 got locked up

Hi,
this morning my home assistant installation on a Raspberry Pi 5 got locked up some how.
Is there a way to figure out the root cause for that?

After a short power cycle everything seems to work as usual.

How to Troubleshoot Raspberry Pi Crashing. See #5 - specifically look at: home-assistant.log.1

Thank you for your fast reply.
After I rebooted the system I added a WIFI power socket to the Raspberry power supply, so I can reboot from abroad.
So, I guess I messed up the log files, as both home-assistant.log (&log1) only start this afternoon.