ISO/IEC 24970:2025 (E) - Artificial intelligence — AI system logging

International Standard | First edition 2025 | Version: Illustration

1. Scope

Clause Details

This document specifies common capabilities, requirements, and a supporting information model for logging of events in AI systems. It is intended to support transparency, auditability, risk management, and compliance with regulations such as the EU AI Act (particularly Article 12 on logging for high-risk AI systems).

Example: Providers of high-risk AI systems (e.g., in employment or credit scoring) can use this standard to implement event logging for traceability and post-market monitoring.

2. Normative References

Clause Details

The following documents are referred to in the text:

- ISO/IEC 22989, Artificial intelligence — Artificial intelligence concepts and terminology

- ISO/IEC 23894, Information technology — Artificial intelligence — Guidance on risk management

- ISO/IEC 42001, Artificial intelligence — Management system

Example: Refer to ISO/IEC 23894 when determining risk-based triggers for logging events.

3. Terms and Definitions

Clause Details

Key terms include:

- AI system log: Record of events generated during the operation or lifecycle of an AI system.

- Logging: The process of recording events in a systematic and structured manner.

- Event: Occurrence of a significant action, state change, or condition within an AI system.

Example: "Tamper-evident log" refers to logs protected against unauthorized modification.

4. Abbreviated Terms

Clause Details

Common abbreviations used in this document, such as:

- AI: Artificial Intelligence

- ML: Machine Learning

- RMS: Risk Management System

5. Logging and Use of Logs

5.1 AI System Logs | 5.2 Logging Components

5.1 AI System Logs

Defines the purpose, scope, and responsibilities for maintaining logs to support traceability, debugging, compliance, and continuous improvement.

5.2 Logging Components

Describes architectural components involved in generating, collecting, storing, and analysing logs.

Example: Integration of logging into the AI system pipeline for real-time event capture.

6. Design of the Logging System

6.1 General Requirements | 6.2 Traceability | 6.5 Technical Documentation

6.1 General Requirements

The logging system shall be designed to support the objectives of the AI system and applicable risk management processes.

6.2 Traceability

Logs must enable linking events to design decisions, data flows, and governance controls.

6.5 Technical Documentation

Requirements for documenting the design and implementation of the logging mechanism.

7. Triggers for Logging

7.1 General | 7.2 Operational Events | 7.3 Exceptional Events

7.1 General

Risk is the primary driver for determining which events must be logged. Logging shall cover normal operations and deviations.

7.2 Operational Events

Routine activities such as input processing, inference, and output generation.

7.3 Exceptional Events

Errors, anomalies, security incidents, and performance degradations.

8. Information to Log

8.1 General | 8.2 Common Log Elements | 8.3 Specific Logging for ML Models

8.1 General

Minimum information that shall be recorded for each logged event.

8.2 Common Log Elements

Timestamp, event type, severity, system context, user/actor identifiers, and outcomes.

8.3 Specific Logging for ML Models

Additional details for training, inference, and model updates (e.g., parameters, version, performance metrics).

Example: Logging model version and confidence scores in a high-risk decision-making AI.

9. Information Model and Log Structure

Clause Details

Provides a structured information model (e.g., using schemas or data formats) to ensure consistency and interoperability of logs across systems and stakeholders.

Example: JSON-based log schema with standardized fields for easy parsing and analysis.

10. Protection, Retention and Access Control

Clause Details

Requirements for log protection (confidentiality, integrity, availability), retention periods, and controlled access. Logs shall be tamper-evident and protected through strict access controls.

Example: Encryption and role-based access for logs containing sensitive personal data in compliance with GDPR and EU AI Act.