Good day
i am newbie here
just want to ask why my haproxy log shows only few info
sample:
[root@BLoadB log]# tail -F haproxy.log
Apr 28 11:13:54 localhost haproxy[2013]: Proxy t2apps started.
Apr 28 11:13:54 localhost haproxy[2013]: Proxy dtrapps started.
Apr 28 11:13:54 localhost haproxy[2013]: Proxy acpsapps started.
Apr 28 11:13:54 localhost haproxy[2013]: Proxy chopchopapps started.
I just want to see on log with destination IP and client IP address etc…
here is my haproxy config
global
log /dev/log local0 info
log /dev/log local1 notice
chroot /var/lib/haproxy
pidfile /var/run/haproxy.pid
maxconn 4000
user haproxy
group haproxy
daemon
## stats socket /var/lib/haproxy/stats
## ssl-default-bind-ciphers PROFILE=SYSTEM
## ssl-default-server-ciphers PROFILE=SYSTEM
defaults
log global
mode http
option httplog
option dontlognull
option http-server-close
option forwardfor except 127.0.0.0/8
option redispatch
retries 3
timeout http-request 10s
timeout queue 1m
timeout connect 10s
timeout client 1m
timeout server 1m
timeout http-keep-alive 10s
timeout check 10s
maxconn 3000
stats enable
stats hide-version
stats realm Haproxy Statistics
stats uri /haproxy_stats
stats auth admin:admin
frontend main
maxconn 20000
bind 192.168.50.250:80
use_backend t2apps if { hdr(host) -i t2apps.haproxy.stp1 }
use_backend dtrapps if { hdr(host) -i dtr.haproxy.stp1 }
use_backend acpsapps if { hdr(host) -i acps.haproxy.stp1 }
backend t2apps
# mode http
# option httplog
balance roundrobin
server t2apps1 172.16.31.249:3000 check
server t2apps2 172.16.31.248:3000 check
backend dtrapps
# mode http
# option httplog
balance roundrobin
server acps1 192.168.50.20:4070 check
Thanks
1 post - 1 participant