'Query for logs and output.'

def get_logs_and_output(self):

    proc = self.proc
    try:
        with open(self.logs_file) as fh:
            logs = fh.read()
    except IOError as err:
        logs = (u"Couldn't    read    logs:    %s" % err)
    return {u'rc': proc.returncode, u'out': proc.stdout.read(), u'err': proc.stderr.read(), u'logs': logs}
