Change logged error to include the Exception object so that a stack
trace will be recorded in the log.
Merge pull request #17 from emma-burrows/log4j

Change logged error to include the Exception object