
On Sat, 15 Feb 2020 at 03:14, Heinrich Schuchardt xypron.glpk@gmx.de wrote:
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
v3: remove superfluous process ID field in syslog messages
MAINTAINERS | 2 +- common/Kconfig | 7 +++ common/Makefile | 1 + common/log_syslog.c | 117 ++++++++++++++++++++++++++++++++++++++++++++ doc/README.log | 3 ++ 5 files changed, 129 insertions(+), 1 deletion(-) create mode 100644 common/log_syslog.c
Reviewed-by: Simon Glass sjg@chromium.org