Logs
Gormes writes a single runtime log under the Gormes home directory.
Locations
Section titled “Locations”| File | Contents |
|---|---|
~/.gormes/gormes.log | Current runtime log: provider turns, tool calls, gateway events, doctor warnings. |
~/.gormes/crash-<unix>.log | Timestamped TUI panic dump. The stderr message after a crash names the file. |
GORMES_HOME overrides the default ~/.gormes location. There is no separate gateway.log — gateway events are written into gormes.log.
Tailing live
Section titled “Tailing live”tail -f ~/.gormes/gormes.logOr, if you only want the tail through the gateway HTTP endpoint when the gateway is running:
gormes logs # human-readable tailgormes logs --json # machine-readable entriesGrepping for tool errors
Section titled “Grepping for tool errors”grep -i "tool=" ~/.gormes/gormes.log | tail -50grep -i error ~/.gormes/gormes.log | tail -50grep -i panic ~/.gormes/gormes.log | tail -50When you suspect a single tool is failing, narrow by tool name:
grep -i "tool=browser_navigate" ~/.gormes/gormes.log | tail -50grep -i "tool=web_search" ~/.gormes/gormes.log | tail -50Rotating
Section titled “Rotating”Gormes does not rotate gormes.log itself. To keep the file from growing without bound, archive and truncate:
mv ~/.gormes/gormes.log ~/.gormes/gormes.log.$(date +%Y%m%d): > ~/.gormes/gormes.logOr set up host-level rotation (logrotate(8) on Linux, newsyslog(8) on macOS) pointing at ~/.gormes/gormes.log.
Crash logs
Section titled “Crash logs”After a TUI panic, look for the most recent crash-*.log under ~/.gormes/:
ls -lt ~/.gormes/crash-*.log | head -5Each crash dump contains the panic stack trace and the goroutine state at the moment of failure.