[PATCH 1/1] log: syslog driver
Simon Glass
sjg at chromium.org
Tue Feb 11 00:13:51 CET 2020
Hi Heinrich,
On Sat, 8 Feb 2020 at 18:35, Heinrich Schuchardt <xypron.glpk at 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 at gmx.de>
> ---
> 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
Is it possible to add a test for this using sandbox networking?
- Simon
More information about the U-Boot
mailing list