]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: log: add support for logging to a ring buffer
authorWilly Tarreau <w@1wt.eu>
Fri, 30 Aug 2019 13:24:59 +0000 (15:24 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 30 Aug 2019 13:24:59 +0000 (15:24 +0200)
commitc046d167e434aacc6dc58adeaf06b5ff2860f338
treeee6128b4db2c586b246099859dd61f1358e04d02
parentf3dc30f6de28820a35d670a27959365a493d43a7
MEDIUM: log: add support for logging to a ring buffer

Now by prefixing a log server with "ring@<name>" it's possible to send
the logs to a ring buffer. One nice thing is that it allows multiple
sessions to consult the logs in real time in parallel over the CLI, and
without requiring file system access. At the moment, ring0 is created as
a default sink for tracing purposes and is available. No option is
provided to create new rings though this is trivial to add to the global
section.
doc/configuration.txt
include/types/log.h
src/log.c