Removed log statements from getXmlObject_rec