# Traefik spamming docker logs

**URL:** <https://community.traefik.io/t/traefik-spamming-docker-logs/8097>\
**Category:** Traefik v2\
**Tags:** docker-swarm\
**Created:** [October 7, 2020, 8:25pm UTC](https://community.traefik.io/t/traefik-spamming-docker-logs/8097 "2020-10-07T20:25:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![chrisbecke](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/chrisbecke/32/2042_2.png) [@chrisbecke](https://community.traefik.io/u/chrisbecke)\
**Post date:** [October 7, 2020, 8:25pm UTC](https://community.traefik.io/t/traefik-spamming-docker-logs/8097/1 "2020-10-07T20:25:28Z")

</div>

My traefik logs are unusably full of messages like:

```auto
traefik_traefik.0.xma8ofmrvla4@lab719 | time="2020-10-07T20:14:22Z" level=error msg="service \"fluentd\" error: port is missing" container=log-fluentd-7vw8mmg7kwbgahw8sr8kj4dek providerName=docker
traefik_traefik.0.xma8ofmrvla4@lab719 | time="2020-10-07T20:14:22Z" level=warning msg="Could not find network named 'traefik' for container 'log_fluentd.dw6nbgt9egxhwbxvlywqogroc'! Maybe you're missing the project's prefix in the label? Defaulting to first available network." serviceName=log-fluentd container=log-fluentd-dw6nbgt9egxhwbxvlywqogroc providerName=docker

```

Is there some way to turn this off without going through hundreds of compose files and adding traefik.enable=false?

---

<div class="post-metadata">

**Author:** ![ldez](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/ldez/32/5_2.png) [@ldez](https://community.traefik.io/u/ldez)\
**Post date:** [October 7, 2020, 8:53pm UTC](https://community.traefik.io/t/traefik-spamming-docker-logs/8097/2 "2020-10-07T20:53:54Z")

</div>

Hello,

You can set `exposedbydefault` to false.

> **[Docker - Traefik](https://doc.traefik.io/traefik/v2.3/providers/docker/#exposedbydefault)**

---

<div class="post-metadata">

**Author:** ![chrisbecke](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/chrisbecke/32/2042_2.png) [@chrisbecke](https://community.traefik.io/u/chrisbecke)\
**Post date:** [October 7, 2020, 8:56pm UTC](https://community.traefik.io/t/traefik-spamming-docker-logs/8097/3 "2020-10-07T20:56:56Z")

</div>

this entails retroactively adding traefik.enabled=true to a lot of services.
