Where can I find the output of the error messages if a program crashes. There is another program that still is running. I want to read the error messages automatically if that is possible.