# Audit Logs

> Turn on Audit logs, open Settings → Audit Logs and Routing → Logs, and understand what is recorded and how long it is kept.

**Audit Logs** records who ran routes and actions. Use it when you need to see what happened on a live system: a take, a salvo, a cue, a workflow, or a change made through MCP.

The feature is off on a new installation. It needs a **Pro** or **Enterprise** license.

## Turn Audit logs on

1. Open **Settings → Features**.
2. Turn on **Audit logs**.
3. Select **Save**.

Turning the feature off stops recording. It also hides **Settings → Audit Logs** and **Routing → Logs**. Existing configuration is not deleted.

To open the pages, the signed-in user needs the **Audit Logs** permission (**See who ran every route and action**).

## Open the logs

- **Settings → Audit Logs** lists recent entries, newest at the bottom, with **Live** following new ones as they arrive. Each button press is followed by the actions it ran, with the position or connection they belong to. Use **Download** to save what you see.

![Settings → Audit Logs: the Activity search box with level filters, Filter, Display and Live, above entries for button presses on the PCR Mixer position, each followed by the PCR-1-Mix action it ran and how long it took](https://www-staging.bitfocus.io/api/docs-media/file/audit-logs.png?prefix=staging%2Fdocs-media)

- To narrow the list, select **Filter**. **Log** picks the source: **Route Actions**, **Action Execution**, **Automation** or **Project Expiration**. The other filters narrow by level, outcome, event, who ran it, where it came from, and the position, surface, connection, workflow, cuelist or other resource involved. You can also type filters into the search box, for example `actor:Jane event:route -outcome:success`.

![The Filter menu open on Settings → Audit Logs, with Log, Level, Outcome, Event, Who, Origin, Position, Surface, Connection, Workflow, Cuelist, Cue and Salvo, and the Log submenu listing Route Actions, Action Execution, Automation and Project Expiration](https://www-staging.bitfocus.io/api/docs-media/file/filter-log-menu.png?prefix=staging%2Fdocs-media)

- **Routing → Logs** shows the same recording from the routing side.

## What is recorded

When Audit logs is on, Buttons records:

- Every route, salvo, release, lock and action, whether it came from a position, the web interface, a cue, a workflow, tally or the Control API.
- For a route: the connection action, and for NMOS the IS-05 stage (receiver, sender, activation, HTTP status).
- Project expirations.
- MCP tool calls that change configuration or act on the system. Read-only MCP tools are not written here. The actor is the user who owns the MCP token.

Diagnostic MCP traffic is also written to `mcp.log` on the server. That file is for support; it does not replace Audit Logs.

## How long entries are kept

Entries stay on the Audit Logs pages for **4 days**. A lasting copy is written to the audit log file on the server for as long as process logs are kept (in a High Availability deployment, in Loki).

Project expiration events stay on the pages for the same 4 days.

## Where to go next

- [Enable and manage installable features](/docs/buttons/v1.10/administration/features)
- [Find your way around Settings](/docs/buttons/v1.10/settings)
- [Manage MCP access and tokens](/docs/buttons/v1.10/mcp/manage-mcp-access)
