> [!NOTE]
> **Note:** You must have an **Owner** role in the agent's Google Cloud project in order to change the interaction logging settings.

Interaction logs, also called conversation logs,
capture conversation messages from both end-users and your agent.
You can browse and delete this data with the
[History](https://docs.cloud.google.com/dialogflow/es/docs/history)
and
[Training](https://docs.cloud.google.com/dialogflow/es/docs/training)
tools.

## Enable and disable interaction logging

> [!NOTE]
> **Note:** If you disable interaction logging, the History and Training features will not be available.

Interaction logging is enabled by default for new agents.

To enable or disable interaction logging for your agent,
see the logging options in the
[agent's general settings](https://docs.cloud.google.com/dialogflow/es/docs/agents-settings#general).

## Handling end-user data

User information may reside within your agent's logs stored by Dialogflow.
Disabling conversation logs only prevents future data storage
and does not delete existing data.
Existing data is retained until the agent is deleted
or you delete specific conversations from
[History](https://docs.cloud.google.com/dialogflow/es/docs/history#delete)
or
[Training](https://docs.cloud.google.com/dialogflow/es/docs/training#training-view).

If you choose to disable logging performed by Dialogflow,
you can still create private logs within your system.
If you are calling the Dialogflow API directly,
log request and response data within your system.
If you are using a Dialogflow integration,
enable a webhook for every intent,
and log request and response data within your webhook system.

## Data retention

Interaction logging data is retained in Google systems for 400 days
before being deleted.