[PATCH v25 15/15] doc: add release note about log library
Stephen Hemminger
stephen at networkplumber.org
Thu Sep 19 17:04:21 CEST 2024
Significant enough to add some documentation.
Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
Acked-by: Morten Brørup <mb at smartsharesystems.com>
Acked-by: Bruce Richardson <bruce.richardson at intel.com>
Acked-by: Chengwen Feng <fengchengwen at huawei.com>
---
doc/guides/rel_notes/release_24_11.rst | 27 ++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/doc/guides/rel_notes/release_24_11.rst b/doc/guides/rel_notes/release_24_11.rst
index 0ff70d9057..d6fb6c137b 100644
--- a/doc/guides/rel_notes/release_24_11.rst
+++ b/doc/guides/rel_notes/release_24_11.rst
@@ -55,6 +55,33 @@ New Features
Also, make sure to start the actual text at the margin.
=======================================================
+* **Enhancements to logging library.**
+
+ * Syslog related changes
+
+ * The meaning of the *--syslog* option has changed.
+ Use of syslog is controlled by the *--syslog* option.
+ The default is now *auto* which uses syslog only if stderr
+ is not a terminal device.
+
+ * The syslog facility is now set to **LOG_USER** if stderr is a terminal
+ and **LOG_DAEMON** otherwise.
+
+ * Syslog is now supported on FreeBSD (but not on Windows).
+
+ * The log is initialized earlier in startup so all messages go through
+ the library.
+
+ * Added a new option to timestamp log messages, which is useful for
+ debugging delays in application and driver startup.
+
+ * Log messages are now in color if going to a terminal (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 the application is a systemd service and the log output is being
+ sent of standard error then DPDK will switch to journal native protocol.
+
Removed Items
-------------
--
2.45.2
More information about the dev
mailing list