Duczer East
Healthcare

In-perimeter AI on governed clinical and operational data.

Financial Services

Private AI and data platforms built to clear model-risk and audit review.

Financial services

Private AI, KYC/AML, API gateways and data governance for banks.

Insurance

Change data capture, governed agents and integration for insurers.

Healthcare

PHI document intelligence, FHIR APIs and in-perimeter AI for health systems and plans.

GuideAI & Data Engineering6 min read

EU AI Act record-keeping and logging for AI systems

What to log, how long to keep it and where it should live

Authored byCo-Founder and Managing Partner, Duczer East
Part of the Insights topic: Agentic AI Governance & Model Risk
On this page
  1. What must be logged
  2. Retention
  3. Where logs live
  4. Common logging gaps
  5. A logging check in six steps
  6. Questions we hear
  7. A sample log record
  8. A first engagement

The EU AI Act requires high-risk AI systems to be able to log events automatically over their lifetime (Article 12). Providers must keep the logs they control, and deployers must keep the logs of high-risk systems under their control for at least six months unless other law says otherwise (Article 26(6)). The Act sets exact log contents only for remote biometric identification; for everything else you decide what is enough to trace the system. This guide covers what to log, how long to keep it and where it should live. It supports our EU AI Act compliance page. Not legal advice.

What must be logged

Article 12 says high-risk systems must technically allow automatic recording of events. The logs must give traceability suited to the system's purpose and help with three things: spotting situations that create risk or require a substantial modification, post-market monitoring, and the deployer's monitoring of operation under Article 26(5).

Only for remote biometric identification does the Act list contents: start and end time of each use, the reference database checked, the input data that led to a match and who verified the result. For other high-risk systems, the Act leaves the field list to you. A practical starting set, from general practice:

Log itemWhy it earns its place
Timestamp and system versionTies each output to the model and configuration that produced it
Input reference (or input where allowed)Lets you reconstruct a decision without storing more personal data than needed
Output or decision and confidenceThe thing an affected person or authority asks about
Human review action and reviewer roleShows oversight happened
Overrides, stops and errorsEvidence for incident and risk-signal review
Configuration and data changesExplains why behaviour changed

Retention

WhoMinimumSource
Deployer of a high-risk systemAt least six months, for logs under its control, unless other law appliesArticle 26(6)
Provider of a high-risk systemAt least six months for logs under its control, unless other law appliesArticle 19
Financial institutionsKeep the logs as part of the documentation they already keep under financial services lawArticles 19 and 26(6)

Six months is a floor. Sector rules, record-keeping laws and your own dispute window may require longer. Data protection law pulls the other way: logs that contain personal data need a lawful reason and a deletion rule. Settle both with counsel before you set one number for everything.

Where logs live

Put logs where an examiner or authority can get them without asking engineers to dig. Three questions decide it:

  1. Who controls the log? If a vendor runs the system, the vendor may hold the log. Your contract must give you access and retention for the period you need. See vendor AI tools under the EU AI Act.
  2. Is it tamper-evident? Use append-only or write-once storage, or sign each batch, so you can show nothing was altered.
  3. Can it be searched by system, date and person affected? A log nobody can query does not meet a request.

Keep logs apart from the system's operating data, with access limited and reviewed. If you use a gateway in front of models, its logs are a natural source; see AI gateway.

Common logging gaps

These are gaps to check for, drawn from general practice.

  • The vendor keeps the logs and the contract gives you none.
  • Logs record the call but not the model version, so a changed output cannot be explained.
  • Human review happens but is not recorded.
  • Logs are kept for days, not months, because they sit in an application's debug store.
  • No one owns the question: who may read the log, and who answers a request.
  • Personal data in logs has no deletion rule.
  • Logs exist for the primary system but not for the tools or agents it calls.

A logging check in six steps

  1. List each high-risk system and who operates it.
  2. Write the log fields you will keep and why each is needed.
  3. Set retention by system and tie it to your counsel's reading.
  4. Name where each log lives and who controls it.
  5. Test a request: pick one past output and rebuild what happened from logs alone.
  6. Review quarterly and after any system change.

Questions we hear

Do all AI systems need logs under the Act? Article 12 applies to high-risk systems. Other systems may carry transparency duties, and good practice still favours logs.

Can we log the full prompt? Sometimes. Weigh traceability against data protection, and consider storing a reference instead.

A sample log record

A starting schema, from general practice, that a team can adapt. It is not prescribed by the Act.

FieldExample valueNote
event_time2026-11-27T14:03:11ZUse one time standard across systems
system_id and versioncredit-score-v4.2Version must change when the model or prompt changes
request_refhash or case numberStore a reference where the input holds personal data
outputdecline, score 412The decision as it left the system
reviewer_role and actioncredit officer, upheldRecord who and what, not free-text opinion
override_reasonincome data correctedNeeded to learn from overrides
retention_classhigh-risk, 6 months minimumDrives deletion

Run one rebuild test a quarter: pick a past output and recreate what the system saw and did, from the log alone. If you cannot, the schema is missing a field.

A first engagement

Duczer East reviews logging for your in-scope systems and hands back a log standard, a retention table and a gap list. Scope is agreed in writing first.

Related: EU AI Act compliance · EU AI Act checklist for banks · AI use case inventory

Frequently asked questions

What does the EU AI Act require for logging?

High-risk AI systems must be able to record events automatically over their lifetime, with traceability suited to their purpose (Article 12).

How long must deployers keep AI logs?

At least six months for logs under their control, unless other law says otherwise (Article 26(6)).

Does the Act list log fields?

Only for remote biometric identification. Otherwise you decide what is enough to trace the system.

Who keeps the logs when a vendor runs the system?

It depends on who controls them. Write access and retention into the contract.

Do logs create GDPR issues?

They can, if they hold personal data. Set a lawful reason and a deletion rule with counsel.

Authored by

Co-Founder and Managing Partner, Duczer East

David deBoisblanc is co-founder of Duczer East and a digital transformation and innovation leader in data-centric AI, agentic systems, and enterprise integration. He shapes intent-driven AI solutions that modernize how organizations use data, drawing on deep experience with Cloudera and complex enterprise integration landscapes.

Newsletter

The Practitioner's Briefing

Senior-level insights on agentic AI, data engineering and enterprise integration, delivered to your inbox.

One email when there is something worth reading. Unsubscribe any time.

Let's Talk

Want to discuss the ideas raised here?

Tell us what you are working on. A senior practitioner replies, and only your email is required.

Get a quote