In my compose file I have this:
command: - --log.level=DEBUG
But nonetheless, when the container starts, the log shows this:
time="2023-07-07T04:18:23+01:00" level=info msg="Configuration loaded from flags."
So it still uses info level (level=info). I can't change it to debug. Why?
level=info
I assume you already use a traefik.yml static config file. You can only use one static config, you can not mix static config file and static command line parameters.
traefik.yml
Aaah I see now it's writing to a separate log file.
But when it starts it doesn't say so, so I was expecting it to be printed to stdout.