@utilities.arguments_not_none<EOL><INDENT>def get_log_form_for_update(self, log_id):<DEDENT>
<EOL>if self._catalog_session is not None:<EOL><INDENT>return self._catalog_session.get_catalog_form_for_update(catalog_id=log_id)<EOL><DEDENT>collection = JSONClientValidated('<STR_LIT>',<EOL>collection='<STR_LIT>',<EOL>runtime=self._runtime)<EOL>if not isinstance(log_id, ABCId):<EOL><INDENT>raise errors.InvalidArgument('<STR_LIT>')<EOL><DEDENT>result = collection.find_one({'<STR_LIT>': ObjectId(log_id.get_identifier())})<EOL>cat_form = objects.LogForm(osid_object_map=result, runtime=self._runtime, proxy=self._proxy)<EOL>self._forms[cat_form.get_id().get_identifier()] = not UPDATED<EOL>return cat_form<EOL>
Gets the log form for updating an existing log.

        A new log form should be requested for each update transaction.

        arg:    log_id (osid.id.Id): the ``Id`` of the ``Log``
        return: (osid.logging.LogForm) - the log form
        raise:  NotFound - ``log_id`` is not found
        raise:  NullArgument - ``log_id`` is ``null``
        raise:  OperationFailed - unable to complete request
        raise:  PermissionDenied - authorization failure
        *compliance: mandatory -- This method must be implemented.*