diff options
author | Heinrich Schuchardt | 2020-02-26 21:48:16 +0100 |
---|---|---|
committer | Simon Glass | 2020-04-16 08:07:58 -0600 |
commit | befadde0a24c3a726689745d5a00c8586adc9c84 (patch) | |
tree | 31642c5c60cc0dd358ed960f79aacc2dd43f4898 /doc | |
parent | d1a02f53b3f24dfce488ba244ba4f8809bebe596 (diff) |
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 'doc')
-rw-r--r-- | doc/README.log | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/README.log b/doc/README.log index 19856d43da2..1057981f452 100644 --- a/doc/README.log +++ b/doc/README.log @@ -147,7 +147,10 @@ several possible determinations for logging information, all of which can be enabled or disabled independently: console - goes to stdout + syslog - broadcast RFC 3164 messages to syslog servers on UDP port 514 +The syslog driver sends the value of environmental variable 'log_hostname' as +HOSTNAME if available. Log format ---------- |