Access Control Logs
In this guide, you will retrieve and analyze control execution logs to diagnose failures in the Guardrails console.
Control logs provide detailed insights into what happened when a control ran, including policy evaluations, API calls, errors, and state changes. They are essential for diagnosing failures, understanding root causes, and gathering information for Guardrails Support.
Prerequisites
Turbot/Operatorpermissions at the Turbot resource level.
Step 1: Open the Control Detail
Select Controls in the sidebar and drill into the provider and service that owns the control you're investigating. On the Controls tab you can filter by state to narrow the list to failures.
Select the control to open its detail page.
Step 2: Open the Process Log
Control logs live on the process that ran the control, not on the control itself. From the control detail page, click VIEW LOG, or click the Last run link in the header. Either one opens the process on its Logs tab.

The log shows timestamped entries from that control execution. The process state (such as TERMINATED) appears as a badge in the page header, next to Run Control and Terminate. The Level dropdown filters entries by severity, and the search box narrows them by keyword.
Step 3: Lower the Log Level
The Level filter defaults to Info and above. To see everything the control emitted, open the dropdown and choose Debug and above.
The levels available are Debug, Info, Notice, Warning, Error, Critical, and Emergency, each shown as "and above". Choosing a level hides everything less severe than it, so Debug shows all entries and Emergency shows almost none.
[!NOTE] Some controls produce no debug-level output by design, so the entry count may not change when you lower the level.
Step 4: Read the Error Detail
Click a log entry to expand it. Error entries expand to a JSON payload with the details you need to diagnose the failure, including an errorId, the worker version, and a data.errors array explaining what actually went wrong.

In this example the error message, "Label guardrails_external_id on project does not match the required value", points at a misconfigured GCP project rather than anything wrong with Guardrails.
Step 5: Copy the Logs
Click the clipboard icon in the Process log header to copy the full log output. Save it to a .txt file for review or for sharing with Guardrails Support, along with the errorId from any expanded error entry.
Step 6: Re-Run the Control (If Needed)
If the logs are incomplete, show Internal Error, or were generated during a transient failure, click Run Control to trigger a fresh execution. The control runs again and produces a new process, which you reach the same way, through VIEW LOG or Last run on the control.
Troubleshooting
| Issue | Description | Guide |
|---|---|---|
Logs show Internal Error | The control encountered an unexpected error. Re-run the control to generate fresh logs. | Click Run Control, then open the new process from the control. |
| No debug entries visible | The control may not have generated debug-level output. Confirm the Level filter is set to Debug and above. | Some controls produce minimal debug output by design. |
| Further assistance | If the issue persists after reviewing logs, open a support ticket with the copied log, the errorId, and a screenshot of the control. | Open a Support Ticket |