Replace root logger calls with module-specific loggers

This commit is contained in:
Ian Renton
2026-08-15 08:35:06 +01:00
parent 74bcd9cded
commit dd89ff4af7
64 changed files with 328 additions and 216 deletions
+3 -1
View File
@@ -9,6 +9,8 @@ from providers.staticdata.local_file_static_data_provider import (
LocalFileStaticDataProvider,
)
logger = logging.getLogger(__name__)
class CQZoneData(LocalFileStaticDataProvider):
"""Static data provider for CQ zone geodata."""
@@ -34,5 +36,5 @@ class CQZoneData(LocalFileStaticDataProvider):
return True
except Exception:
logging.exception("Exception when loading CQ zone data.")
logger.exception("Exception when loading CQ zone data.")
return False