adding log to xml response