> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mudraid.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Diagnostics

> SDK logging.

Turn on the logs to watch the trust loop.

```python theme={null}
import logging
logging.getLogger("mudraid").setLevel(logging.DEBUG)
```

## The loggers

| Logger                      | Shows                                  |
| --------------------------- | -------------------------------------- |
| `mudraid.agent`             | Request lifecycle and 401 retries      |
| `mudraid.token_manager`     | Cache hits, mints, refreshes           |
| `mudraid.platform_resolver` | Bootstrap, host-to-platform resolution |
| `mudraid.http`              | Outbound MudraID requests              |
| `mudraid.env`               | `.env` loading                         |

## Logs never contain secrets

No SDK log line emits a secret or a token. Anti-leak tests enforce this. You can ship DEBUG logs without leaking credentials.

For the full guide, see [Debug with structured logs](/guides/agent-developer/debugging).
