Docker Community Forums

Share and learn in the Docker community.

Docker log-driver rfc5424micro not working


(Ctav) #1

Hi,

I configured docker to use syslog driver as follows:

 cat /etc/docker/daemon.json
 {
   "log-driver": "syslog",
   "log-opts": {
     "syslog-format": "rfc5424micro",
     "syslog-address": "udp://127.0.0.1:514",
   }
 }

My docker version is 17.03.2-ce:

Docker version 17.03.2-ce, build f5ec1e2

I was expecting that messages start appearing with milliseconds but they aren’t.

Does anyone knows if Key “syslog-format”: “rfc5424micro” is supported on docker version 17.03.2-ce?

BR.