Skip to content

Commit

Permalink
doc: releases: Add release notes for logging
Browse files Browse the repository at this point in the history
Add section with logging changes.

Signed-off-by: Krzysztof Chruściński <[email protected]>
  • Loading branch information
nordic-krch authored and henrikbrixandersen committed Feb 15, 2024
1 parent 89745fe commit 27063ee
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions doc/releases/release-notes-3.6.rst
Original file line number Diff line number Diff line change
Expand Up @@ -896,6 +896,29 @@ Libraries / Subsystems

* File systems

* Logging

* Added option to remove string literals from the binary when dictionary based logging is used.

* Optimized the most common logging messages (strings with up to 2 numeric arguments). Optimization
is done for code size (significant gain seen on riscv32) and performance.

* Extended logging frontend API to optionally implement dedicated functions for optimized messages.
Optional API is enabled by :kconfig:option:`CONFIG_LOG_FRONTEND_OPT_API`.

* Added support for runtime message filtering for the logging frontend.

* Add option to have multiple instances of the UART logging backend.

* Fixed userspace issue for :c:func:`printk` when :kconfig:option:`CONFIG_LOG_PRINTK` is enabled.

* Added compile time detection of logging messages which are using character pointers for ``%p``.
It must be avoided when dictionary based logging is used and strings are stripped from the
binary. When erroneous case is detected then user message is replaced with error message which
suggests that pointer casting must be added.

* Removed remaining references to v2 logging. :c:func:`log2_generic` renamed to :c:func:`log_generic`.

* Modem modules

* Power management
Expand Down

0 comments on commit 27063ee

Please sign in to comment.