mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-03-25 04:17:42 +00: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
@ -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 New Issue
Block a user