Add build log to payload

@oleg-nenashev thanks for the tip. I've updated the code with this fix. Is there anything else I need to do to get this merged?