def _get_logs(node, count, auth, page=0):
    logs_set = node.get_aggregate_logs_queryset(auth)
    total = logs_set.count()
    pages = math.ceil(total / float(count))
    validate_page_num(page, pages)

    start = page * count
    stop = start + count
    logs = [
        serialize_log(log, auth=auth, anonymous=has_anonymous_link(node, auth))
        for log in logs_set[start:stop]
    ]

    return logs, total, pages
:param Node node:
dataset/ETHPy150Open CenterForOpenScience/osf.io/website/project/views/log.py/_get_logs