Adds an existing ``LogEntry`` to a ``Log``.

        arg:    log_entry_id (osid.id.Id): the ``Id`` of the
                ``LogEntry``
        arg:    log_id (osid.id.Id): the ``Id`` of the ``Log``
        raise:  AlreadyExists - ``log_entry_id`` is already assigned to
                ``log_id``
        raise:  NotFound - ``log_entry_id`` or ``log_id`` not found
        raise:  NullArgument - ``log_entry_id`` or ``log_id`` is
                ``null``
        raise:  OperationFailed - unable to complete request
        raise:  PermissionDenied - authorization failure
        *compliance: mandatory -- This method must be implemented.*

def assign_log_entry_to_log(self, log_entry_id, log_id):
        """Adds an existing ``LogEntry`` to a ``Log``.

        arg:    log_entry_id (osid.id.Id): the ``Id`` of the
                ``LogEntry``
        arg:    log_id (osid.id.Id): the ``Id`` of the ``Log``
        raise:  AlreadyExists - ``log_entry_id`` is already assigned to
                ``log_id``
        raise:  NotFound - ``log_entry_id`` or ``log_id`` not found
        raise:  NullArgument - ``log_entry_id`` or ``log_id`` is
                ``null``
        raise:  OperationFailed - unable to complete request
        raise:  PermissionDenied - authorization failure
        *compliance: mandatory -- This method must be implemented.*

        """
        # Implemented from template for
        # osid.resource.ResourceBinAssignmentSession.assign_resource_to_bin
        mgr = self._get_provider_manager('LOGGING', local=True)
        lookup_session = mgr.get_log_lookup_session(proxy=self._proxy)
        lookup_session.get_log(log_id)  # to raise NotFound
        self._assign_object_to_catalog(log_entry_id, log_id)