We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0145e9c commit adc4fc1Copy full SHA for adc4fc1
src/parallax_utils/logging_config.py
@@ -1,6 +1,7 @@
1
"""Logging configuration for Parallax."""
2
3
import logging
4
+import os
5
import sys
6
import threading
7
from typing import Optional
@@ -99,6 +100,8 @@ def set_log_level(level_name: str):
99
100
"""Set the root logger level."""
101
_initialize_if_necessary()
102
logging.getLogger().setLevel(level_name.upper())
103
+ if level_name.upper() == "DEBUG":
104
+ os.environ["RUST_LOG"] = "info"
105
106
107
def get_logger(name: Optional[str] = None) -> logging.Logger:
0 commit comments