[ Documentation ]
peach logs

peach 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
peach logs [limit]
peach logs --level <csv>
peach logs --filter <substring>
peach logs --tail
peach 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
--internal, --allinclude engine-internal logs (bundle loader, HMR traps, etc.), hidden by default so guest-app output stays readable
--sim <sim>target a specific connected sim
--port <number>bridge port (defaults to 7668)

Examples

terminal
peach logs
peach logs 200
peach logs --level error,warn
peach logs --filter "hydrate"
peach logs --tail
peach logs --tail --level error
peach logs --internal
peach logs clear