Docker Community Forums

Share and learn in the Docker community.

Gelf driver not sending exception logs

Here is docker-compose.yml

 logging:
          driver: gelf
          options:
            gelf-address: "tcp://graylogHost:graylogPort"

But, when it get exceptions at container start, for example jvm argument syntax error, I couldn’t see on Graylog stream.

Can anyone help please ?

Because, gelf driver does not support tcp, it must be UDP channel.