Added exception traces to log output.