Expand backend debug logging
build-push / docker (push) Successful in 4m5s

This commit is contained in:
AI Assistant
2026-03-16 14:53:05 +09:00
parent 6972178a2b
commit cd9b47b33e
6 changed files with 234 additions and 1 deletions
+12
View File
@@ -460,6 +460,18 @@
- There is one known local commit that has not been pushed because the remote repo reported an unpacker error.
## Recent Change Log
- Date: `2026-03-16`
- What changed:
- Significantly increased backend debug logging volume and routed it into the existing WebSocket `debug` stream so the in-app `Logs` panel captures much deeper request, search, preview, Gemini, and ranking traces.
- Added request-start/request-done API middleware logs with request body and truncated response body snapshots.
- Added service-level debug hooks for SearXNG requests, collector activity, enrichment passes, Gemini translation/vision steps, ranking batch stats, and preview proxy/cache behavior.
- Why it changed:
- The user wants to export detailed browser-visible log files and use them later for root-cause analysis instead of relying on sparse summaries.
- How it was verified:
- code inspection of debug hook wiring from backend services to WebSocket `debug` broadcasts
- What is still risky or incomplete:
- Very verbose logging can make the `Logs` panel noisier and larger, especially during long searches or preview playback.
- Date: `2026-03-16`
- What changed:
- Removed per-batch Gemini fallback injection so empty Gemini sub-results no longer automatically turn into many `"Gemini Vision 응답이 부족해..."` items.