Haproxy config with rsyslog

Trying to set up rsyslog with haproxy but no logs ends up in the specified files.

I have looked at: Introduction to HAProxy Logging - HAProxy Technologies
and updated rsyslog config to the new format (old format does not work either).

Running:
Ubuntu 20.04
Haproxy 2.4 (2.4.14-1ppa1~focal)

rsyslog config:

module(load="imudp")
input(type="imudp" address="127.0.0.1" port="514")

local0.* /var/log/haproxy/haproxy.log
local0.debug /var/log/haproxy/haproxy_debug.log

haproxy config:

global
  log  127.0.0.1 local0

defaults
  log  global
  maxconn  8000
  option  redispatch
  retries  3
  stats  enable
  timeout  http-request 10s
  timeout  queue 1m
  timeout  connect 10s
  timeout  client 1m
  timeout  server 1m
  timeout  check 10s

listen testlb
  bind public-ip:80 interface ens224
  bind public-ip:81 
  mode http
  log global
  option httplog
  server backend10 192.168.1.10:80 check
  server backend20 192.168.1.20:80 check

Rsyslog seams to be working properly:

logger -p local0.debug "test514"

works, and you get an entry in the specified files.

after a haproxy purge + re-install the logging is working.