see stdout python script autostart (or what is recommended logging mechanism)

I have a Python 3.5 script that I have uploaded to router, and I have set it to autostart. Some questions related to debugging:

  • how can I see the script’s output (print/stdout/stderr)
  • how can I tell when/why it has restarted (if that was the exit action specified - Restart)