[PATCH v22 15/15] doc: add release note about log library

Stephen Hemminger stephen at networkplumber.org
Tue Sep 17 22:35:57 CEST 2024


Significant enough to add some documentation.

Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
---
 doc/guides/rel_notes/release_24_11.rst | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/doc/guides/rel_notes/release_24_11.rst b/doc/guides/rel_notes/release_24_11.rst
index 0ff70d9057..4ed483b06f 100644
--- a/doc/guides/rel_notes/release_24_11.rst
+++ b/doc/guides/rel_notes/release_24_11.rst
@@ -55,6 +55,20 @@ New Features
      Also, make sure to start the actual text at the margin.
      =======================================================
 
+* **Enhancements to logging library.**
+
+  * Log is initialized earlier in startup so all messages go through the log library.
+
+  * Log messages can be timestamped which is useful for debugging startup timing.
+
+  * The log now supports color in the log if going to a terminal device
+    similar to dmesg. The default format shows timestamp in green, subsystem
+    in yellow, and the message is bold, boldface or normal depending on severity.
+
+  * If DPDK is being used by a systemd service and the log output is being
+    sent of standard error then DPDK will switch to journal native protocol.
+
+  * On FreeBSD the log library uses syslog the same as Linux.
 
 Removed Items
 -------------
-- 
2.45.2



More information about the dev mailing list