def METHOD_NAME(self):
    composite_client = oci.logging.LoggingManagementClientCompositeOperations(
        self.logging_client
    )
    response = composite_client.create_log_and_wait_for_state(
        log_group_id=self.log_group_id,
        create_log_details=oci.logging.models.CreateLogDetails(
            display_name=self.log_stream,
            is_enabled=True,
            log_type="CUSTOM",
        ),
        wait_for_states=['SUCCEEDED'],
    )
    return response.data.resources[0].identifier