EU AI Act Article 12 record-keeping

    How to Prove Automatic Logging Covers the Full Lifetime of a High-Risk AI System

    Define the lifetime scope from first deployment to decommissioning. Map each Article 12 purpose to specific captured events. Show that every interaction and tool call passes through a point where events are recorded. Then test that claim with continuity checks, gap detection, retention validation and integrity controls, and assemble the results into an evidence package an auditor can inspect.

    What full-lifetime coverage means

    Article 12(1) of Regulation (EU) 2024/1689 requires high-risk AI systems to technically allow for the automatic recording of events (logs) over the lifetime of the system. The operative word is lifetime. Holding logs from individual components does not show that the capability was enabled and active in every phase, and an auditor will ask about the phases in between.

    Treat this as an evidence-engineering task rather than a logging-volume task. Coverage is demonstrated by showing that every interaction and tool call passed through a point where events were recorded, and then testing that claim. A large archive proves volume. A tested architecture, a matrix and continuity results prove coverage.

    Article 12(2) states the purpose: a level of traceability of the system's functioning appropriate to its intended purpose. Logging capabilities must enable recording of events relevant to identifying situations that may result in a risk within the meaning of Article 79(1) or in a substantial modification, and to monitoring the operation of high-risk AI systems referred to in Article 26(5). These purposes drive what you capture.

    Step 1: Define the lifetime scope

    Write down what lifetime means for your system, using the Article 12(1) wording as the anchor. A practical scope runs from first deployment through decommissioning and names the events that put continuity at risk: redeployments, model or tool updates, configuration changes, outages and the boundaries where retention periods end. These phases are an engineering interpretation, so record them as your documented scope rather than as statutory text.

    For each phase, state which capture points are expected to be active and who controls the resulting logs. Article 19(1) requires providers to keep the automatically generated logs to the extent they are under the provider's control, so the scope document should distinguish provider-controlled logs from deployer-controlled ones. Assign a named owner for retention and evidence assembly on each side.

    Finally, identify every path by which an interaction or tool call can reach the system. If one path skips the recording point, the coverage claim fails regardless of how good the logs are elsewhere.

    Step 2: Build the coverage matrix

    The coverage matrix ties each regulatory purpose to the events captured, the capture point that records them and the evidence that proves it. Keep one row per obligation and make every cell checkable.

    Where Article 12(3) applies, it gives concrete minimums. For systems referred to in point 1(a) of Annex III, logging must provide at least the period of each use (start and end date and time) and the reference database against which input data has been checked. Per-use timestamps are directly testable for continuity. The reference database item means capture points should record the data sources consulted, not only inputs and outputs.

    A workable matrix has these columns for each row:

    • Obligation: The Article 12(1), 12(2) or 12(3) requirement, quoted or closely paraphrased.
    • Event type: The concrete event that satisfies it, such as a use start, use end, risk-relevant event or data source consulted.
    • Capture point: The component in the execution path that records the event, with a reference to the architecture diagram.
    • Log fields: Timestamp, system version, policy decision and other fields needed to interpret the event.
    • Controlling party: Whether the provider or the deployer controls and retains the log.
    • Verification evidence: The test result or artifact that proves the row works in production.

    Step 3: Verify continuity and detect gaps

    Mapping shows intent. Verification shows coverage. The following methods are engineering practice rather than prescribed requirements, but they produce the kind of results an auditor can inspect.

    Continuity checks use monotonically increasing sequence numbers per capture point, or scheduled heartbeat events, so that a missing record is detectable by its absence. Gap detection compares the sequence and heartbeat series against deployment, update and outage records, and every gap is either explained by a documented event or raised as a finding. Bypass testing sends interactions and tool calls through alternative routes and confirms that each one still produces an event. Reconciliation counts requests seen at the system boundary against events recorded and investigates differences.

    Run these checks across the transitions that matter most: before and after each model or tool update, across redeployments, and through and after outages. Keep the outputs as dated artifacts. A gap that was found, explained and closed is stronger evidence than a record that never looked.

    Step 4: Validate retention and integrity

    Article 19(1) requires logs to be kept for a period appropriate to the intended purpose of the system, of at least six months, unless applicable Union or national law provides otherwise. Set the period for your system, document the basis for choosing it, and apply a longer period where the intended purpose or other law calls for one. As of November 2026, confirm the current consolidated text before fixing the period.

    Retention validation means proving the period is enforced, not just configured. Retrieve records from the start of the retention window, confirm that deletion happens only after it ends, and confirm that retrieval still works after storage or format changes. Test across retention boundaries specifically, since that is where coverage most often erodes quietly.

    Integrity controls make the logs credible. Write-once or append-only storage, hash chaining or signing of records, restricted write and delete permissions, and independent access reviews all support a tamper-resistance claim. Record what each control protects against and how you tested it.

    Step 5: Assemble the evidence package, and know its limits

    The package should let an auditor start from any Article 12 requirement and reach proof without asking for custom exports. Include the scope document, the architecture diagram of capture points, the completed coverage matrix, continuity and gap-detection reports across each change window, retention and integrity test results, and the ownership record for provider and deployer logs. Include any description of how deployers can collect, store and interpret the logs, and check that it matches what the system actually produces.

    Runtime policy enforcement in the execution path can supply much of this as a by-product. Trussed enforces policy on individual interactions and tool calls across models, agents, tools and MCP servers (allow, redact, block, rate limit, escalate for human approval), and each enforcement decision generates audit-ready evidence mapped to the EU AI Act and NIST. It supports self-managed deployment in the customer cloud, with configurable retention and data residency. It has run continuously in production at a regulated enterprise for 18+ months and generates 30+ GB of audit evidence per day.

    Its scope is interaction-level and tool-call-level. It does not provide model provenance, model lineage, dataset provenance or end-to-end tracing of agentic workflows. Document those as separate evidence streams in your matrix rather than implying one record covers them.

    From obligation to inspectable evidence

    Scope

    Lifetime phases, changes, outages and retention boundaries

    Map

    Article 12 purposes tied to capture points and log fields

    Test

    Continuity, gap, retention and integrity checks

    Assemble

    Dated artifacts an auditor can trace to each requirement

    Turn the coverage claim into evidence

    See how enforcement in the execution path produces audit-ready evidence for interactions and tool calls, and where your matrix needs other sources.

    See How Evidence Is Produced
    Next step

    How does your AI governance program compare?

    See where your program has gaps in less than 2 minutes.