Use an error-handler to use logging also for XML parsing errors Otherwise this output is done to stdout/stderr which we would like to avoid. Keep the format as one line and do not include a full exception stacktrace to not introduce lots of exception-stacktraces for some slightly broken input files