Skip to content

Logs

Live log viewer at /logs. Mirrors foil server logs --follow with a UI.

Server logs

What you see

  • Tabs — server, engine (vllm-mlx), scan
  • Last 300 lines per source, polled every 3s
  • Filter input — substring match on visible lines
  • Auto-scroll toggle — keep pinned to the tail, or freeze the view

What you can do

  • Diagnose scan failures without leaving the browser
  • Watch a scan in real time via the scan tab
  • Copy lines for bug reports (standard text selection works)

File locations

The files behind each tab live under ~/.foil/logs/:

  • server.log — the foil server itself (API, queue, knowledge graph)
  • engine.log — the vllm-mlx process
  • scan-<job_id>.log — per-scan detail, useful when debugging a specific target