haproxy/tests/test-log.cfg
Dragan Dosen 609ac2ab6c MEDIUM: log: replace sendto() with sendmsg() in __send_log()
This patch replaces sendto() with sendmsg() in __send_log() and makes use
of an iovec to send the log message.
2015-09-28 14:01:27 +02:00

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