Can't change log to debug level

In my compose file I have this:

  - --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?

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.

1 Like

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.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.