Cant understand, how it logging? Now my log is empty and haproxy doesnt write anything to file. Sometimes it logs some info, Logging works with syslog-ng, if i set in haproxy conf timeout client about 1s, then logging works sometimes. Is logging can affect the recording logs? Sorry. Forgot about config. I'm trying to load balance sybase jdbc.
- defaults
- mode tcp
- timeout connect 5s
- timeout client 50000
- timeout server 50000
- option dontlognull
- option redispatch
- retries 3
- maxconn 4096
- frontend Sybase
- bind *:2638
- mode tcp
- option tcplog
- log global
- log-format [%t]\ from\ %ci:%cp\ to\ %fi:%fp\ %si:%sp\ %s\ %ts\ request_size=%U\ response_size=%B
- default_backend Sybase
- backend Sybase
- mode tcp
- log global
- option tcplog
- balance leastconn
- server base_1 sybase:2638 check
- server base_2 sybase:2638 check