def track_field(field):
    """
    Returns whether the given field should be tracked by Auditlog.

    Untracked fields are many-to-many relations and relations to the Auditlog LogEntry model.

    :param field: The field to check.
    :type field: Field
    :return: Whether the given field should be tracked.
    :rtype: bool
    """
    from lucterios.framework.models import LucteriosLogEntry
    if field.many_to_many:
        return False
    if getattr(field, 'remote_field', None
        ) is not None and field.remote_field.model == LucteriosLogEntry:
        return False
    elif getattr(field, 'rel', None
        ) is not None and field.rel.to == LucteriosLogEntry:
        return False
    return True
