summaryrefslogtreecommitdiff
path: root/common/Kconfig
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2020-02-26 23:48:16 +0300
committerSimon Glass <sjg@chromium.org>2020-04-16 17:07:58 +0300
commitbefadde0a24c3a726689745d5a00c8586adc9c84 (patch)
tree31642c5c60cc0dd358ed960f79aacc2dd43f4898 /common/Kconfig
parentd1a02f53b3f24dfce488ba244ba4f8809bebe596 (diff)
downloadu-boot-befadde0a24c3a726689745d5a00c8586adc9c84.tar.xz
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>
Diffstat (limited to 'common/Kconfig')
-rw-r--r--common/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/common/Kconfig b/common/Kconfig
index 40da8fa7a3..ee4f748c32 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -775,6 +775,13 @@ config TPL_LOG_CONSOLE
log message is shown - other details like level, category, file and
line number are omitted.
+config LOG_SYSLOG
+ bool "Log output to syslog server"
+ depends on LOG && NET
+ help
+ Enables a log driver which broadcasts log records via UDP port 514
+ to syslog servers.
+
config LOG_TEST
bool "Provide a test for logging"
depends on LOG && UNIT_TEST