Diagnostics / Logs

Log Location

Logs are written to:

data/logs/hamster_ai.log

The log file rotates automatically to prevent it growing too large. Old rotated files are kept as hamster_ai.log.1, hamster_ai.log.2, etc.

Log Levels

LevelWhen it appears
DEBUGDetailed internal events — only useful when tracking down a specific bug
INFONormal operational events — startup, mode changes, plugin load
WARNINGSomething unexpected happened but the app recovered
ERRORSomething failed — usually actionable
CRITICALA severe failure that may prevent the app from functioning

Viewing Logs

Three ways to view logs:

Privacy in Logs

Sensitive data is never written to logs:

Clearing Logs

Clear the log file from the Diagnostics window, or with:

/clear-logs
Note Clearing logs is permanent. If you're reporting a bug, export the diagnostic bundle first from the Diagnostics window.

Log Format

2026-05-12 14:32:01 INFO  [core.startup] Hamster AI started (model: llama3.2:3b)
2026-05-12 14:32:02 INFO  [plugins] Loaded: session_awareness, insights, scheduled_reminders
2026-05-12 14:32:02 WARNING [plugins] voice_output: pyttsx3 not installed — plugin disabled
2026-05-12 14:33:10 ERROR [ollama_client] Connection refused — is Ollama running?