Log stack traces to the exception log