]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: log: report the number of dropped logs in the stats
authorWilly Tarreau <w@1wt.eu>
Mon, 12 Nov 2018 06:25:28 +0000 (07:25 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 12 Nov 2018 17:37:55 +0000 (18:37 +0100)
commit13ef7737227a07efa0d604d0e11a33cd08e926d2
tree688c956dd398bdea10c49ee3e09f67d77aae5004
parentadb345d485707c8b4c98f8c48b8610b340e30f2e
MINOR: log: report the number of dropped logs in the stats

It's easy to detect when logs on some paths are lost as sendmsg() will
return EAGAIN. This is particularly true when sending to /dev/log, which
often doesn't support a big logging capacity. Let's keep track of these
and report the total number of dropped messages in "show info".
include/proto/log.h
include/types/stats.h
src/log.c
src/stats.c