Overview of Logging
summary
Overview of the Zephyr logging subsystem with concrete details: supported formats include MIPI SyS-t, dictionary, and text; a circular multi-producer single-consumer packet buffer holds self-contained messages with 32/64-bit timestamps; up to nine backends run independently with per-backend runtime filters and compile-time filtering to shrink footprint; three modes exist—deferred (default), immediate, minimal—with deferred buffering and synchronous backend processing; dynamic runtime format switching is implemented and works but causes dropped packets in deferred mode so use immediate mode for safe switching.
AI-written summary · about
chapters (14)
- 0:00Start
- 2:13Overview
- 5:08How to Log using Zephyr?
- 8:27Architecture
- 10:44Frontend: Logging Process
- 12:07Log Message Format
- 13:19Log Message Memory
- 14:14Multi Producer Single Consumer Packet Buffer
- 18:08Log Filtering
- 19:33Run-Time Filtering
- 26:55Multi-Domain Logging (Contd.)
- 28:16Types of Logging Formats
- 31:12Dynamically Switch Logging formats
- 33:04References
related talks
31mA Zephyr User Story
52mMinimal Logging Framework in C++20
20mStructured Logging for the Standard Library
29mApplication Logging
43mZephyr Documentation BoF
08mKeynote: Zephyr as the Foundation for a Microcontroller SDK
35mBoosting Product Development With the Zephyr RTOS – a Critical Reflection
29mLogging the right way
