> For the complete documentation index, see [llms.txt](https://docs.ambient.finance/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ambient.finance/developers/logs-and-queries.md).

# Logs and Queries

As a design principal, Ambient generally runs with minimal to no log events for normal operations.  This is to economize on the gas costs of common operations.&#x20;

Instead, because of its single contract design and simplified storage layout, tracing is easily done by tracing for state differences at the `CrocSwapDex` contract address. Ambient provides an off-chain API for history and position monitoring. &#x20;
