File: test-log.cfg

package info (click to toggle)
haproxy 1.5.8-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 7,732 kB
  • sloc: ansic: 62,860; xml: 1,754; python: 925; makefile: 551; perl: 550; sh: 491
file content (24 lines) | stat: -rw-r--r-- 525 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# 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 -esendto".

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