forked from 0xWheatyz/SPARC
Replace print() calls with structured logging in analyzer.py, serp_api.py, and llm.py #1357
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
Roadmap item: P2 Backend - Add structured logging
Multiple backend modules use
print()for logging. This makes it impossible to filter by log level or integrate with log aggregation systems.What to do
print()calls inanalyzer.py,serp_api.py, andllm.pywith Pythonloggingmodule calls at appropriate levels (DEBUG, INFO, WARNING, ERROR).LOG_LEVELenvironment variable defaulting toINFO.Acceptance criteria
print()calls remain in the three target files.LOG_LEVELenvironment variable.[Repo Manager] This issue has already been resolved on the main branch. Verified by code inspection during triage. Closing.