Add _auth_label() classifier: local/anon/guest/authed — no PII, just enough to distinguish traffic types in docker logs for log-based analytics. Instrument /api/session: logs new_guest (with UUID) or auth=.../tier=... on every session bootstrap. Instrument /api/search: expands existing multi-search log line with auth=, tier=, adapter=, pages=, queries=, listings= fields for grep/awk analysis of search behaviour by tier. Add logging.basicConfig so app-level log.info() calls appear in docker logs alongside the Uvicorn access log (previously suppressed by missing root handler). |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| cloud_session.py | ||
| ebay_webhook.py | ||
| main.py | ||