No logging via daemon.json

I would like to send all container log to a syslog server but i fail.
added this line to /etc/docker/docker.json:

{
  "log-driver": "syslog",
  "log-opts": {
    "syslog-address": "udp://syslog:515",
    "tag": "{{.Name}}"
  }
}

also tried this:

dockerd --log-driver syslog --log-opt syslog-address=udp://syslog:515 --log-opt tag='docker/{{.Name}}'

both do NOT send any data to syslog server (port 515, udp). i tracked this with tcpdump.

im’ running docker inside an alpine linux lxc container on proxmox.

media:~# dockerd -v
Docker version 23.0.2, build 219f21bf07502b447095649b5a2764661737f164

Ok nevermind, the containers have to be recreated!

Yes, the daemon config only sets the default parameters so new containers can get that (just in case anyone wondering why recrateting was needed)