maxlerebourg / crowdsec-bouncer-traefik-plugin

Traefik plugin for Crowdsec - WAF and IP protection

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

thespad opened this issue Β· comments

commented

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):

  • OS: Docker
  • Traefik version: 2.10.7
  • Plugin version: 1.2.0-rc2
  • Redis: 7.2.4

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

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

commented

Looks like that's sorted it, thanks.