For logging, I’d suggest `systemd` if you’re on Linux.
Create a service file, set `Restart=on-failure`, and it’ll handle crashes + log everything to journalctl.
```bash
journalctl -u your_service_name -f
```
Bit of a learning curve but worth it.
Create a service file, set `Restart=on-failure`, and it’ll handle crashes + log everything to journalctl.
```bash
journalctl -u your_service_name -f
```
Bit of a learning curve but worth it.
