[PATCH v3 2/6] log: syslog driver
Simon Glass
sjg at chromium.org
Sun Feb 16 20:02:50 CET 2020
On Sat, 15 Feb 2020 at 03:14, 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>
> ---
> 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 at chromium.org>
More information about the U-Boot
mailing list