]> git.proxmox.com Git - mirror_frr.git/commit - lib/zlog_5424.h
lib: RFC5424 & journald extended syslog target
authorDavid Lamparter <equinox@diac24.net>
Wed, 29 Apr 2020 08:26:05 +0000 (10:26 +0200)
committerDavid Lamparter <equinox@opensourcerouting.org>
Sun, 16 Jan 2022 23:39:00 +0000 (00:39 +0100)
commit1c6261a99e9a1447422869a116f704097a19854a
treefd17c3f2435407bcd4bc329a531f16f961c57445
parent603c61656fe2a758aae466a801baccbe63697f67
lib: RFC5424 & journald extended syslog target

Not much to say here, user docs are coming up in a separate commit.
RFC5424 and (systemd's) journald allow passing structured key-value
data.  This stuffs the metadata we have available into there.

The "does the system syslogd support RFC5424" question is unfortunately
not easily answered, so we can only give an affirmative answer on NetBSD
5.0+ or FreeBSD 12+.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
lib/command.h
lib/log_vty.c
lib/subdir.am
lib/zlog_5424.c [new file with mode: 0644]
lib/zlog_5424.h [new file with mode: 0644]
lib/zlog_5424_cli.c [new file with mode: 0644]