Skip to content

Commit

Permalink
doc: add release note about log library
Browse files Browse the repository at this point in the history
Significant enough to add some documentation.

Signed-off-by: Stephen Hemminger <[email protected]>
Acked-by: Morten Brørup <[email protected]>
Acked-by: Bruce Richardson <[email protected]>
Acked-by: Chengwen Feng <[email protected]>
Signed-off-by: 0-day Robot <[email protected]>
  • Loading branch information
shemminger authored and david-marchand committed Oct 18, 2024
1 parent 4ba998a commit dcc3146
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions doc/guides/rel_notes/release_24_11.rst
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,32 @@ API Changes
and replaced it with a new shared devarg ``llq_policy`` that keeps the same logic.


* **Logging library changes**

* 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.

* 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).

* 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.

* Log messages can be optionally marked with colors.


ABI Changes
-----------

Expand Down

0 comments on commit dcc3146

Please sign in to comment.