]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: log: adds counters on received syslog messages.
authorEmeric Brun <ebrun@haproxy.com>
Thu, 9 Jul 2020 21:23:34 +0000 (23:23 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 15 Jul 2020 15:50:12 +0000 (17:50 +0200)
commit45c457a62941a7c4a86ce4327d7755edcd4b230e
tree64dec318e46240b1915b42b6f92874e7f00291bd
parent12941c82d01e9157250dea8604eb79d9cc0160c2
MINOR: log: adds counters on received syslog messages.

This patch adds a global counter of received syslog messages
and this one is exported on CLI "show info" as "CumRecvLogs".

This patch also updates internal conn counter and freq
of the listener and the proxy for each received log message to
prepare a further export on the "show stats".
include/haproxy/log.h
include/haproxy/stats-t.h
src/log.c
src/stats.c