mirror of
https://github.com/haproxy/haproxy.git
synced 2026-06-11 01:41:49 -04:00
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:
parent
9589aa0fe5
commit
a39ecbdac1
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue