Mikrotik rebooted without any reason

Hello Everyone,
How can we know mikrotik is rebooted with what reason

If you don’t persist your logging…you can’t.

How do we know it wasnt a power outage??

Put another RB (like recycling old 411…) at same power source, if both go down at same time, it’s power outage.

Acrivate persistent logging:

/sys log
add action=disk topics=critical
add action=disk topics=error
add action=disk topics=warning

and you can read “kerenl failure”, watchdog, “reboot without poer shutdown” etc.

Apr/28/2021 17:36:24 system,error,critical router rebooted without proper shutdown, probably power outage

i got this log but i dont know exact problem.