refactor: remove GlobalLogger and migrate to standard Python logging

- Remove src/infrastructure/logging/GlobalLogger.py
- Update SerieScanner.py to use standard logging.getLogger()
- Update aniworld_provider.py to remove custom noKeyFound_logger setup
- Fix test_dependencies.py to properly mock config_service
- Fix code style issues (line length, formatting)
- All 846 tests passing
This commit is contained in:
2025-10-25 17:27:49 +02:00
parent a3651e0e47
commit a41c86f1da
17 changed files with 447 additions and 135 deletions

View File

@@ -46,12 +46,7 @@ if not download_error_logger.handlers:
download_error_handler.setLevel(logging.ERROR)
download_error_logger.addHandler(download_error_handler)
noKeyFound_logger = logging.getLogger("NoKeyFound")
if not noKeyFound_logger.handlers:
log_path = _logs_dir / "no_key_found.log"
noKeyFound_handler = logging.FileHandler(str(log_path))
noKeyFound_handler.setLevel(logging.ERROR)
noKeyFound_logger.addHandler(noKeyFound_handler)
noKeyFound_logger = logging.getLogger()
class AniworldLoader(Loader):