I have set up my Raspberry Pi connected serially to the Arduino to do some digital and analogue capturing (using Nanpy)
However, it randomly stops every few hours.
I have tried putting in some logging features to try figure out when/why it bombs out, but I'm not winning doing it this way.
I have it set up headless in a panel, and unfortunately I can't connect a screen to it to see what the reason is for it bombing out (well, I can, but it is mounted in a box, and I would have to unmount it to get my screen cable plugged in, and the environment is not the best)
I have read that errors are automatically logged into /var/log/errors.log. However, I don't seem to have that particular file on my Raspberry.
Is this the file I should be looking at? Will it give me the error message that would be displayed on the screen when the application bombs out? It is written in Python. I know the exact time that it stops working, so if I know where it is logged to, I can hopefully try find the cause of it.
Thank you for any advice.