Thanks for pointing out. Log goes to /var/log/haproxy/haproxy.log, BTW. And I found a note in there:
Nov 18 16:14:49 mail haproxy[75789]: [WARNING] (75789) : config : parsing [/etc/haproxy/haproxy.cfg:30]: 'option httplog' overrides previous 'log-format' in 'defaults' section. All fine, just one thing: Nov 20 08:49:14 mail haproxy[141126]: 3.129.yyy.xx:28587 [20/Nov/2023:08:49:14.965] http-in http-in/<NOSRV> -1/-1/1 0 PR 1/1/0/0/0 0/0 How can I see to which backend the request is routed, and whether a request goes to port 80, 443 or quic4 and whether it is a https redirect or direct https request? -- Christoph > Am 20.11.2023 um 09:22 schrieb Christopher Faulet <cfau...@haproxy.com>: > > Le 18/11/2023 à 16:19, Christoph Kukulies a écrit : >> I added a log-format and did a haproxy-reload. >> No change in log detail: >> defaults >> log global >> log-format "%ci:%cp [%t] %ft %b/%s %Tw/%Tc/%Tt %B %ts >> %ac/%fc/%bc/%sc/%rc %sq/%bq" >> mode http >> option httplog > > Hi, > > If you define a specific log-format, don't set httplog option. This > directive, set after your log-format will override it. > > -- > Christopher Faulet >
smime.p7s
Description: S/MIME cryptographic signature