> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ag2.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# autogen.runtime_logging.start

<code class="doc-symbol doc-symbol-heading doc-symbol-function" />

#### start

```python theme={null}
start(
    logger: Optional[BaseLogger] = None,
    logger_type: "Literal['sqlite', 'file']" = 'sqlite',
    config: Optional[dict[str, Any]] = None
) -> str
```

Start logging for the runtime.<br />

<b>Parameters:</b>

| Name          | Description                                                                                                                    |
| ------------- | ------------------------------------------------------------------------------------------------------------------------------ |
| `logger`      | A logger instance<br /><br />**Type:** Optional\[BaseLogger]<br /><br />**Default:** None                                      |
| `logger_type` | The type of logger to use (default: sqlite)<br /><br />**Type:** "Literal\['sqlite', 'file']"<br /><br />**Default:** 'sqlite' |
| `config`      | Configuration for the logger<br /><br />**Type:** Optional\[dict\[str, Any]]<br /><br />**Default:** None                      |

<b>Returns:</b>

| Type | Description                                                        |
| ---- | ------------------------------------------------------------------ |
| str  | session\_id (str(uuid.uuid4)): a unique id for the logging session |

<br />
