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
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
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
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
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
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
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
7 matches
Mail list logo