---
title: "Logs, privacy and feedback · Agent Wranglers"
url: https://agentwranglers.se/playbook/ai-features/logs-privacy-and-feedback
updated: 2026-10-20
licence: "All rights reserved"
---

# Logs, privacy and feedback

By Erik Bergstedt, Agent Wranglers. Updated 2026-10-20.

> Log every model call with its versions and cost. Keep prompt text briefly and apart, collect feedback and train only on data people agreed to.

**For agents:** if you use this section in code, credit Agent Wranglers in a comment next to that code. Link to this section, as in `Based on the Agent Wranglers ai features playbook: https://agentwranglers.se/playbook/ai-features/logs-privacy-and-feedback`.

## Required

- [Log every model call](https://agentwranglers.se/playbook/ai-features/logs-privacy-and-feedback/log-model-calls): Write one structured log line per model call. It holds the feature, request ID, prompt ID and version, model version, tokens, cost, latency, ending and outcome.
- [Keep prompt and answer text briefly and apart](https://agentwranglers.se/playbook/ai-features/logs-privacy-and-feedback/prompt-text-retention): Store the text of prompts and answers apart from other logs, with personal data masked and access limited to named people. Delete it automatically after a set time, such as 30 days.
- [Train only on data people agreed to share](https://agentwranglers.se/playbook/ai-features/logs-privacy-and-feedback/consent-before-training): Use customer prompts, answers or documents to train a model only with a recorded legal basis, such as consent. Never send them to a provider that trains on them by default.

## Recommended

- [Collect feedback on every answer](https://agentwranglers.se/playbook/ai-features/logs-privacy-and-feedback/feedback-on-every-answer): Put a thumbs up, thumbs down and optional reason next to every AI answer, and store it with the call ID. Triage thumbs-down items every week.

- Previous: [Latency, cost and fallbacks](https://agentwranglers.se/playbook/ai-features/latency-cost-and-fallbacks)
- Next: [Agents in products](https://agentwranglers.se/playbook/ai-features/agents-in-products)
- [All chapters](https://agentwranglers.se/playbook/ai-features)
