# System log: turn on collection and inspect requests

> Turn on collection, filter by period and event, and open each request to see what your tags sent and how platforms responded.

The **Logs** tab, with a **Beta** badge, shows what reached the container, what Wascer tags sent and how platforms responded. Use it to investigate an event that did not show up on a platform.

## Turn on collection

1. In **Containers**, open the container and click the **Logs** tab.
2. Turn on the **Collect system logs** switch. When collection is off, you can also click **Enable system logs**.
3. Wait up to 5 minutes, the time the change takes to reach the container, then click **Refresh**.

How long new logs are kept depends on your plan and is shown on the screen. Turning collection off stops new recording, but the history already recorded stays available until it expires.

> **Nota:** If the switch is disabled, your user does not have permission to manage collection for this container. Ask whoever manages the account.

## Input and Output

- **Input**: the requests that reached the container.
- **Output**: what Wascer tags sent to platforms and how they responded. Third-party tags do not record output, and older Wascer tags only record it after you update them to the latest version.

## Filter your search

1. In **From** and **To**, pick the interval. The default is the last hour, and the maximum is 10 days.
2. If you want, open **More filters** and fill in **Event name**, **Platform**, **Request path**, **Trace ID**, **Event type** or **Time zone (IANA)**.
3. Click **Apply filters**. Until you apply them, the screen shows **Changes not applied**.

Applied filters show as tags. **Clear filters** removes the filters and keeps the period. The end time of the interval is not included in the search.

## See a request's details

The table shows **Date and time**, **Event**, **Platform** and **Request URL**, 50 rows at a time. Use **Load more logs** to see the next ones. Click the arrow on a row to open **Request details**, with:

- method, URL, **Response status** and **Duration (ms)**. Status 0 shows as **Network failure (no response)**.
- **Request body** and **Response body**. Use **Show raw body** to see the original text.
- **Trace timeline**, with the input and the outputs of the same trace. Click a record to open it.

## Common issues

- **No logs match this interval and filters**: if you just turned on collection, wait up to 5 minutes and click **Refresh**. Otherwise, widen the interval or remove filters.
- **This page cursor is no longer valid**: click **Refresh** to run the search again.
- **A log disappeared from the list**: each log is available until its own retention expires.

Source: https://wascer.com/helpdesk/containers-no-painel/logs-do-container
