Improve logging around XML processing of content.