log: syslog driver
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 26 Feb 2020 20:48:16 +0000 (21:48 +0100)
committerSimon Glass <sjg@chromium.org>
Thu, 16 Apr 2020 14:07:58 +0000 (08:07 -0600)
commitbefadde0a24c3a726689745d5a00c8586adc9c84
tree31642c5c60cc0dd358ed960f79aacc2dd43f4898
parentd1a02f53b3f24dfce488ba244ba4f8809bebe596
log: syslog driver

Provide a log driver that broadcasts RFC 3164 messages to syslog servers.
rsyslog is one implementation of such a server.

The messages are sent to the local broadcast address 255.255.255.255 on
port 514.

The environment variable log_hostname can be used to provide the HOSTNAME
field for the messages. The optional TIMESTAMP field of RFC 3164 is not
provided.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
MAINTAINERS
common/Kconfig
common/Makefile
common/log_syslog.c [new file with mode: 0644]
doc/README.log