fix(logging): replace structlog with stdlib logging to prevent broken pipe crashes

structlog fails with BrokenPipeError when stdout is redirected (e.g., background
processes, Docker logs). Replace all structlog.get_logger() calls with
logging.getLogger() and convert keyword-style log calls to %-format strings.

Also removes stale Docs/tasks.md (2028 lines) and updates Robot Framework
tests to match current API behavior.
This commit is contained in:
2026-06-21 20:14:31 +02:00
parent be3e180137
commit 572aa0fc78
18 changed files with 299 additions and 2254 deletions

View File

@@ -130,7 +130,7 @@ class NfoScanService:
else:
handler(event_data)
except Exception as e:
logger.error("NFO scan event handler error", error=str(e))
logger.error("NFO scan event handler error error=%s", str(e))
@property
def is_scanning(self) -> bool: