Allow optionally turning off XML logging