maxlerebourg / crowdsec-bouncer-traefik-plugin

Traefik plugin for Crowdsec - WAF and IP protection
Apache License 2.0
260 stars 14 forks source link

[BUG] Disabling Debug logging doesn't take effect until a Traefik restart #132

Closed thespad closed 9 months ago

thespad commented 9 months ago

Describe the bug 🐛 Switching logLevel from INFO to DEBUG immediately enables debug log output, but switching back to INFO continues to produce debug output until Traefik is restarted

Expected behavior 👀 Log level behaviour should be consistent

Context 🔎

Version (please complete the following information):

To Reproduce Steps to reproduce the behavior:

  1. Start tailing Traefik logs
  2. Change logLevel from INFO to DEBUG
  3. Observe logs change to include debug output
  4. Change logLevel from DEBUG to INFO
  5. Observe logs do not stop including debug output
maxlerebourg commented 9 months ago

Can you test version 1.2.1-rc1 and tell us if it solves your issue?

thespad commented 9 months ago

Looks like that's sorted it, thanks.