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).

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

rsyslog config:

input(type="imudp" address="" port="514")

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

haproxy config:

  log local0

  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 check
  server backend20 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.