In docker-compose.yml I have this config for the app log:
command:
- --log.level=INFO
When I perform some diagnostic work, I have to change that to DEBUG, then restart traefik. That is bad for users, as it drops active/pending connections.
Can I change the log level at runtime, without restarting traefik?
We use a load balancer in front of our Traefik instances, that way we can update one instance after another. Traefik/Docker usually waits 10 seconds for requests „in flight“ to finish.
If anyone else wants this functionality, please upvote that issue.
(Your workaround is appreciated. In my case though I need something simpler, because I have a very simple infrastructure, with only one traefik instance and no load balancer.)