def log_job_schedule(js):
    """Log job schedule
    :param js: job schedule
    :rtype: list
    :return: log entries
    """
    log = [
        '* job schedule id: {}'.format(js.id),
        '  * state: {} @ {}'.format(
            js.state.value, js.state_transition_time),
        '  * previous state: {} @ {}'.format(
            js.previous_state.value
            if js.previous_state is not None else 'n/a',
            js.previous_state_transition_time),
        '  * pool id: {}'.format(js.job_specification.pool_info.pool_id),
        '  * do not run until: {}'.format(js.schedule.do_not_run_until),
        '  * do not run after: {}'.format(js.schedule.do_not_run_after),
        '  * recurrence interval: {}'.format(
            js.schedule.recurrence_interval),
        '  * next run time: {}'.format(
            js.execution_info.next_run_time),
        '  * recent job: {}'.format(
            js.execution_info.recent_job.id
            if js.execution_info.recent_job is not None else None),
        '  * created: {}'.format(js.creation_time),
        '  * completed: {}'.format(js.execution_info.end_time),
    ]
    return log