Skip to content

Commit fb2ee4c

Browse files
refactor(logging): remove forced setLevel(INFO) from all module loggers
1 parent 3a58908 commit fb2ee4c

File tree

7 files changed

+0
-7
lines changed

7 files changed

+0
-7
lines changed

hatch/environment_manager.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ def __init__(
6262
"""
6363

6464
self.logger = logging.getLogger("hatch.environment_manager")
65-
self.logger.setLevel(logging.INFO)
6665
# Set up environment directories
6766
self.environments_dir = environments_dir or (Path.home() / ".hatch" / "envs")
6867
self.environments_dir.mkdir(exist_ok=True)

hatch/installers/dependency_installation_orchestrator.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ def __init__(
6767
registry_data (Dict[str, Any]): Registry data for dependency resolution.
6868
"""
6969
self.logger = logging.getLogger("hatch.dependency_orchestrator")
70-
self.logger.setLevel(logging.INFO)
7170
self.package_loader = package_loader
7271
self.registry_service = registry_service
7372
self.registry_data = registry_data

hatch/installers/docker_installer.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
from .registry import installer_registry
2121

2222
logger = logging.getLogger("hatch.installers.docker_installer")
23-
logger.setLevel(logging.INFO)
2423

2524
# Handle docker-py import with graceful fallback
2625
DOCKER_AVAILABLE = False

hatch/installers/python_installer.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ class PythonInstaller(DependencyInstaller):
3131
def __init__(self):
3232
"""Initialize the PythonInstaller."""
3333
self.logger = logging.getLogger("hatch.installers.python_installer")
34-
self.logger.setLevel(logging.INFO)
3534

3635
@property
3736
def installer_type(self) -> str:

hatch/installers/system_installer.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ class SystemInstaller(DependencyInstaller):
3333
def __init__(self):
3434
"""Initialize the SystemInstaller."""
3535
self.logger = logging.getLogger("hatch.installers.system_installer")
36-
self.logger.setLevel(logging.INFO)
3736

3837
@property
3938
def installer_type(self) -> str:

hatch/package_loader.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ def __init__(self, cache_dir: Optional[Path] = None):
3131
Defaults to ~/.hatch/packages.
3232
"""
3333
self.logger = logging.getLogger("hatch.package_loader")
34-
self.logger.setLevel(logging.INFO)
3534

3635
# Set up cache directory
3736
if cache_dir is None:

hatch/python_environment_manager.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ def __init__(self, environments_dir: Optional[Path] = None):
4141
Defaults to ~/.hatch/envs.
4242
"""
4343
self.logger = logging.getLogger("hatch.python_environment_manager")
44-
self.logger.setLevel(logging.INFO)
4544

4645
# Set up environment directories
4746
self.environments_dir = environments_dir or (Path.home() / ".hatch" / "envs")

0 commit comments

Comments
 (0)