mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-01-22 05:22:58 +00:00
609ac2ab6c
This patch replaces sendto() with sendmsg() in __send_log() and makes use of an iovec to send the log message.
25 lines
526 B
INI
25 lines
526 B
INI
# This is a test configuration.
|
|
# Its purpose is simply to emit logs on the loopback in order to verify
|
|
# that the time is correct. To be used with tcpdump on lo, or with
|
|
# "strace -s100 -esendmsg".
|
|
|
|
global
|
|
log 127.0.0.1:514 local0
|
|
|
|
defaults
|
|
balance uri
|
|
contimeout 5000
|
|
clitimeout 5000
|
|
srvtimeout 5000
|
|
|
|
listen http
|
|
log global
|
|
log 127.0.0.1:514 local0
|
|
option httplog
|
|
mode http
|
|
bind :8000
|
|
option dontlognull
|
|
balance roundrobin
|
|
server tux 127.0.0.1:65535 check inter 1000
|
|
|