Re: Logging port #

2023-11-20 Thread Christoph Kukulies
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

Re: Logging port #

2023-11-20 Thread Christopher Faulet
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  httplo

Re: Logging port #

2023-11-19 Thread Shawn Heisey
On 11/18/2023 08:07, Christoph Kukulies wrote: For haproxy I don't have a log-format string. defaults         log     global         mode    http         option  httplog         option  dontlognull         timeout connect 5000         timeout client  5         timeout server  5  

Re: Logging port #

2023-11-18 Thread Christoph Kukulies
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" modehttp option httplog option dontlognull timeout connect 5000

Re: Logging port #

2023-11-18 Thread Christoph Kukulies
Thanks. That's the tomcat9 logformat string: For haproxy I don't have a log-format string. defaults log global modehttp option httplog option dontlognull timeout connect 5000 timeout client 5 timeout server 5 er

Re: Logging port #

2023-11-18 Thread Willy Tarreau
On Sat, Nov 18, 2023 at 03:20:51PM +0100, Christoph Kukulies wrote: > I would like to see more precisely what requests arrive at haproxy at which > port and how they are routed to the backend server (port). > > At the moment I don't see any connects in /var/log/haproxy/haproxy.log > > and at the

Logging port #

2023-11-18 Thread Christoph Kukulies
I would like to see more precisely what requests arrive at haproxy at which port and how they are routed to the backend server (port). At the moment I don't see any connects in /var/log/haproxy/haproxy.log and at the backend server (tomcat9) I see the following (I extended the logformat by the