Error loggin etree xml