# How to use "Logs" for debugging

{% embed url="<https://app.arcade.software/share/GIe6wHr6NRud49qZON1f>" %}

### Where to find event logs:

You can see the event logs by opening the "**Logs**" card in the "**Debug**" sub-menu.

Here you can **filter by log type** just selecting the "Pages", "User Input", "Computed", or "Actions"  tabs.&#x20;

### Refreshing logs and "Live mode":

{% hint style="info" %}
If you have the "Logs" card open and you are interacting with the page, new logs are being generated but you are not going to see them unless you refresh the "Logs" card or activate the live mode.
{% endhint %}

* **Refreshing**: To refresh the logs card just click the refresh icon at the **top right corner** of the card.
* **Live mode**: To activate the live mode just click the **lightning icon**. When active you'll see it green and new events are going to be shown automatically.

### Deleting logs:

{% hint style="info" %}
Sometimes you'll want a fresh start with no logs just to have a more clear view of what happens when you do X action in your flow.&#x20;
{% endhint %}

To delete all logs just click on the "**Clear logs**" icon in the top right corner by the "Refresh" icon. You'll then need to confirm deleting by clicking "Yes" in a popup warning.

### Recording computed field logs:

{% hint style="info" %}
By default computed field logs are not recorded.
{% endhint %}

To activate the computed field logs recording you need to:

1. Go to the "Computed" tab.
2. Click on the "Start recording CFs" icon at the top right corner, right by the "Live mode" lightning icon.

Once activated the recording would continue until you stop it by clicking the same button again. While recording is active the icon would be red.

### Event snapshot:

{% hint style="info" %}
The event snapshot is a snapshot of all user data at the moment right after the event happened.
{% endhint %}

To open the snapshot of a specific event you just need to click the "**View User Data Snapshot**" placed inside the event summary card. \
By clicking on any value inside the snapshot you'll automatically get a copy of that variable value to your clipboard.

{% hint style="warning" %}
Computed field logs have 2 snapshots, one to see the user data after the CF execution and another to see how the user data state was right before
{% endhint %}

### Related docs:

<table data-view="cards"><thead><tr><th align="center"></th><th data-hidden data-card-target data-type="content-ref"></th><th data-hidden data-card-cover data-type="files"></th></tr></thead><tbody><tr><td align="center"><mark style="color:blue;"><strong>Conditions</strong></mark></td><td><a href="/pages/5cLni8Op4gLG8p0WpJyg">/pages/5cLni8Op4gLG8p0WpJyg</a></td><td><a href="/files/qgiL4LalKsmIRQf6qyI2">/files/qgiL4LalKsmIRQf6qyI2</a></td></tr><tr><td align="center"></td><td></td><td></td></tr><tr><td align="center"></td><td></td><td></td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.trysavvy.com/how-tos/general-how-tos/how-to-use-logs-for-debugging.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
