Log buffer details of XML parse error