use Util.prettyPrintXml() to print entities to logger

extra () ?