'Return the task logs within a given range, optionally
filtering by host and/or state.'

def task_log_get_all(self, context, task_name, period_beginning, period_ending, host=None, state=None):

    return self.db.task_log_get_all(context, task_name, period_beginning, period_ending, host=host, state=state)
