# Logs, revoke steps and review

Lesson 4 of [Set and test spending controls for AI agents](https://agentwalletindex.fyi/academy/test-agent-spending-controls.md), 12 minutes.

Limits work only if you can see them work and switch them off. Prepare this before the agent runs. The log You must be able to answer one question later: who paid what, to whom and why. Check that the wallet or your own code records these fields. - The time of each payment. - The amount and the curr…

The rest of this lesson is for learners enrolled in the course. [See how Set and test spending controls for AI agents works](https://agentwalletindex.fyi/academy/test-agent-spending-controls.md).

Also on the [web page](https://agentwalletindex.fyi/academy/test-agent-spending-controls/logs-revoke-and-review).
