'get_job_log(jobid) -> Log (xml string)'

def get_job_log(self, jobid, logfilter=None):

    params = self._get_params()
    params['show'] = 'log'
    filter_list = []
    if (logfilter is None):
        logfilter = []
    for (key, val) in logfilter:
        if (key not in OozieApi.VALID_LOG_FILTERS):
            raise ValueError(('"%s"    is    not    a    valid    filter    for    job    logs' % (key,)))
        filter_list.append(('%s=%s' % (key, val)))
    params['logfilter'] = ';'.join(filter_list)
    return self._root.get(('job/%s' % (jobid,)), params)
