From a39ecbdac10c9a58abb114f365a47c5d5e696623 Mon Sep 17 00:00:00 2001 From: Emeric Brun Date: Mon, 5 Oct 2020 14:33:12 +0200 Subject: [PATCH] BUG/MINOR: proxy: inc req counter on new syslog messages. Increase req counter instead of conn counter on new syslog messages. This should be backported on branches including the syslog forward feature. --- src/log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/log.c b/src/log.c index 2a49561075..22f3caa47f 100644 --- a/src/log.c +++ b/src/log.c @@ -3545,7 +3545,7 @@ void syslog_fd_handler(int fd) /* update counters */ _HA_ATOMIC_ADD(&cum_log_messages, 1); - proxy_inc_fe_conn_ctr(l, l->bind_conf->frontend); + proxy_inc_fe_req_ctr(l, l->bind_conf->frontend); parse_log_message(buf->area, buf->data, &level, &facility, metadata, &message, &size); -- 2.47.3