Build xml, logging works.