Capture the console.log and put the output in the XML