Search code examples
dockertraefik

Disable access logs per-container in Traefik


We have a very chatty container that is quickly filling the Traefik access logs.

Is there a label which we can apply which will instruct Traefik to not log access for a specific container?


Solution

  • I had this issue as well, and my solution was to send all output to fluentd and then drop lines matching certain criteria. Note that depending on the volume of logs you might consider shipping to a separate machine.

    Also, this request seems a good candidate for a feature request.