feat: structured auth logging for log-based analytics #23
Loading…
Reference in a new issue
No description provided.
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?
Summary
Add structured auth-type logging to API endpoints so traffic can be analysed by log parsing rather than relying entirely on web analytics.
What Snipe did (reference implementation)
Add
logging.basicConfig(level=logging.INFO, format="%(levelname)s:%(name)s: %(message)s")so app-level logs appear indocker logs.Endpoints to instrument
auth=+tier=on every call.auth=,tier=, target agency/queue.Reference
Circuit-Forge/snipe@873b9a1 — working implementation.