Skip to main content

What the Logs Keep

What the Logs Keep

  • Hardware & deployment
  • Stage 2 · Hands On
  • refs checked 2026-11-06
What problem it solves

Who stores your prompts, file contents and tool arguments, for how long, and who can look at them.

What it is
Session records are usually more complete than people assume. Claude Code's data-usage page spells it out: opting to send feedback uploads the conversation transcript, any subagent transcripts and the raw session log from disk; known API-key and token patterns are redacted first, while source code and file contents go as-is, and a shared transcript is retained for up to six months. On the enterprise side the records exist for compliance. Microsoft's Copilot data-protection document lists what can be captured: audit records for prompts, responses and referenced content; interaction data for eDiscovery and investigations; user-uploaded files; and content created in Copilot Pages. Retention and deletion follow the configured Purview policy. Not used for training is not the same as nobody reads it. Anthropic's privacy policy says inputs and outputs used for training are disassociated from your user ID and that deletion happens within 30 days — statements about training and deletion, which do not by themselves rule out abuse scanning or compliance handling. Retention windows, whether logging can be switched off and who has access vary by vendor, plan and region. Whatever your own terms of service do not state is unknown; do not fill the gap with another company's number.
Why it matters

The logs decide what must never enter this pipeline: customer lists, keys, unreleased code. Once you see the logging boundary you know which fields to strip yourself before anything is sent.

Sources
  • Claude Code: data usage ↗
  • Microsoft Copilot data protection architecture ↗
  • Anthropic privacy policy ↗
  • LangSmith Observability ↗
Use this term in a task

Don’t stop at the definition: use the task handbook for the order and checks, or filter three tool candidates for the job at hand.

Task handbooks → · Filter three candidates →