Fix log_debug_tidy polarity
This commit is contained in:
parent
16de655902
commit
390488558e
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ logging.basicConfig(
|
||||||
format="%(asctime)s:%(levelname)s:%(name)s:%(message)s",
|
format="%(asctime)s:%(levelname)s:%(name)s:%(message)s",
|
||||||
datefmt="%d/%m/%Y %H:%M:%S"
|
datefmt="%d/%m/%Y %H:%M:%S"
|
||||||
)
|
)
|
||||||
if os.getenv("LOG_DEBUG_TIDY") != "1":
|
if os.getenv("LOG_DEBUG_TIDY", "true") in ("1", "yes", "true"):
|
||||||
logging.getLogger("httpcore.connection").setLevel(logging.INFO)
|
logging.getLogger("httpcore.connection").setLevel(logging.INFO)
|
||||||
logging.getLogger("httpcore.http11").setLevel(logging.INFO)
|
logging.getLogger("httpcore.http11").setLevel(logging.INFO)
|
||||||
logging.getLogger("httpx").setLevel(logging.INFO)
|
logging.getLogger("httpx").setLevel(logging.INFO)
|
||||||
|
|
Loading…
Reference in a new issue