[PATCH v21 13/14] log: add support for systemd journal

Stephen Hemminger stephen at networkplumber.org
Tue Jun 4 04:35:33 CEST 2024


On Mon,  3 Jun 2024 17:45:01 -0700
Stephen Hemminger <stephen at networkplumber.org> wrote:

> If DPDK application is being run as a systemd service, then
> it can use the journal protocol which allows putting more information
> in the log such as priority and other information.
> 
> The use of journal protocol is automatically detected and
> handled.  Rather than having a dependency on libsystemd,
> just use the protocol directly as defined in:
> 	https://systemd.io/JOURNAL_NATIVE_PROTOCOL/
> 
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>

Same kind of bogus checkpatch warnings:
- stdio.h is not a spelling error
- the indent is correct, just that checkpatch can't handle #ifdef's


More information about the dev mailing list