A/usr/local/etc/profile.d/bash_completion.shctually enable debug logs if requested
I noticed that when enabling debug logs, the level doesn't actually get set. This should fix that. Signed-off-by: Wim Fournier <git@fournier.nl>
This commit is contained in:
parent
9c44291da2
commit
4a087e67f9
|
@ -75,7 +75,7 @@ def configure(level: Level = Level.INFO) -> None:
|
|||
structlog.processors.EventRenamer(to="msg"),
|
||||
structlog.processors.JSONRenderer(),
|
||||
],
|
||||
wrapper_class=structlog.make_filtering_bound_logger(logging.INFO),
|
||||
wrapper_class=structlog.make_filtering_bound_logger(logging.DEBUG if level == Level.DEBUG else logging.INFO),
|
||||
)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue