override log.level from Environment or somewhere else

Hi,

When I have

log:

level: INFO

in traefik.yml and start docker compse with TRAEFIK_LOG_LEVEL=DEBUG, the static configuration seems to win. Same if I set TRAEFIK_LOG_LEVEL in .env (which is included via env_file in the traefik service in docker-compose.yml).

Is there any possibility for a short-term override of log.level set in traefik.yml short of editing traefik.yml every time?

Greetings, Marc

No override (doc). But you could replace the static value through an env var in your traefik.yml.