Log deploy output (reworked #94)

Almost works, but sometimes `Error reading command output: read |0: bad file descriptor` appears in the log.