Logging uncaught exceptions to the normal log file.