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.
This commit is contained in:
Emeric Brun 2020-10-05 14:33:12 +02:00 committed by Willy Tarreau
parent 9589aa0fe5
commit a39ecbdac1

View File

@ -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);