Adding logging when an exception is thrown during processing.

The logging is done with clojure.tools.logging. All exceptions are logged out with the error logging level.