HAProxy community

Incorrect logging

Greetings,

I’m using custom log format

log-format "%ci:%cp [%tr] %ft %b/%s %TR/%Tw/%Tc/%Tr/%Ta %ST %B %CC %CS %tsc %ac/%fc/%bc/%sc/%rc %sq/%bq %hr %hs %{+Q}r"

But for some reason it is not logging disconnection codes in the log

Oct 25 11:58:19 localhost haproxy[15881]: <private ip>.60.251:38356 [25/Oct/2019:11:52:59.780] web_https_frt~ owa_bck/ex1 0/0/0/12/319945 200 2315 - - ---- 1758/1710/66/34/0 0/0 {<private domain>|Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KH|||} {|Microsoft-IIS/10.0} "GET /owa/ev.owa2?ns=PendingRequest&ev=PendingNotificationRequest&UA=0&cid=ee488c90-933b-4b5b-9236-a3acc10282c7&brwnm=chrome&X-OWA-CANARY=B7XX2fz6T0-f1FFx7VhB7ODgzLwoWdcI4607ybEBsDJNQfQCDyYxGSG7fQ6ceiRi_qe6llRe6JI.&n=f1 HTTP/1.1"
Oct 25 11:59:58 localhost haproxy[16881]: <private ip>.60.251:50943 [25/Oct/2019:11:59:47.818] web_https_frt~ owa_bck/ex1 0/0/1/12/10698 200 1626 - - ---- 1491/1463/66/34/0 0/0 {<private domain>|Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KH|||} {|Microsoft-IIS/10.0} "GET /owa/ev.owa2?ns=PendingRequest&ev=PendingNotificationRequest&UA=0&cid=2b754478-27b7-4008-a61b-d202d618d5f7&brwnm=chrome&X-OWA-CANARY=nbzWx4xi4Uq0nUtHm8_PJsDzB7ApWdcIbeOx8S1t43EHea-YJ6zqIcmeVZrkWBZcgeg47SP4E60.&n=mz HTTP/1.1"
Oct 25 12:04:59 localhost haproxy[16881]: <private ip>.60.251:55525 [25/Oct/2019:11:59:48.654] web_https_frt~ owa_bck/ex2 0/0/0/7/310385 200 2432 - - ---- 1763/1723/64/33/0 0/0 {<private domain>|Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KH|||} {|Microsoft-IIS/10.0} "GET /owa/ev.owa2?ns=PendingRequest&ev=PendingNotificationRequest&UA=0&cid=6215e237-c13f-455f-9a23-e1a88e837b36&brwnm=chrome&X-OWA-CANARY=NRwD0uFJqE2lKGsD_MaZ_QCigrApWdcIhHZfDv1MXzQW4els1Cbg2rtltRgkRtE5Mg2Gd1TTIGw.&n=3s HTTP/1.1"

Any ideas?

They are there:

----

All flags set to - because there was no error.