Journalctl
To list of the last 500 lines in the log before restart
journalctl -b -1 -n 500
kernel panic or kernel failed -> do a search in kernel logs
journalctl -k -b -1
To list of the last 500 lines in the log before restart
journalctl -b -1 -n 500
kernel panic or kernel failed -> do a search in kernel logs
journalctl -k -b -1