Skip to content

Logs

The Logs page provides a comprehensive log viewer for verifying daemon behavior and debugging issues.

OAK maintains two separate log files:

LogPurpose
Daemon logMain server activity — indexing, background jobs, API requests, errors
Hooks logAgent activity tracking — session starts, prompt captures, tool executions, session completions

Switch between logs using the tabs at the top of the page.

Logs page with daemon log and tag chip filters

Logs stream in real time as the daemon works. Auto-scroll keeps you at the bottom to see the latest entries. When you scroll up to inspect an older entry, auto-scroll pauses so you can read and copy without the view jumping away.

Log entries are tagged by category (e.g., indexer, hooks, background, search, config). Use the tag chips at the top of the log viewer to filter entries:

  • Click a tag to show only entries with that tag
  • Select multiple tags for OR-logic filtering (shows entries matching any selected tag)
  • Click again to deselect

Toggle the Debug switch to enable DEBUG level logging. This restarts the daemon with verbose output — useful for diagnosing issues with embedding providers, background processing, or hook execution.

Configure how many log lines to display (100–5000) to balance between history and performance.

You can also follow logs from the terminal:

Terminal window
oak ci logs -f # Follow daemon logs

Hooks log view showing agent activity