sootsim logs

Read the shared observability log store (console.log/info/warn/error/debug plus uncaught errors and unhandled rejections, captured in the render worker) from the terminal. List recent logs, tail in real time, filter by level or substring, or clear the buffer. Shares its data source with the devtools dock so both views stay in lock-step.

terminal

sootsim logs [limit]
sootsim logs --level <csv>
sootsim logs --filter <substring>
sootsim logs --tail
sootsim logs clear

Options

flagdescription
--level <csv>comma-separated level filter (log,info,warn,error,debug)
--filter <substring>message substring filter (case-insensitive)
--limit <n>max entries to print (default 50)
--tail, -ffollow mode: stream new log entries as they land
--jsonemit structured JSON instead of formatted rows
--session <session-id>target a specific connected session
--port <number>bridge port (defaults to 7668)

Examples

terminal

sootsim logs
sootsim logs 200
sootsim logs --level error,warn
sootsim logs --filter "hydrate"
sootsim logs --tail
sootsim logs --tail --level error
sootsim logs clear