Logs Missing
Symptoms
- logs panel is empty for a service you expect to be noisy
get_logsreturns fewer entries than expected- historical logs seem to disappear after reconnect or restart
Likely causes
- the service is not running or selected scope is wrong
- response was truncated by effective log limit
- you are relying only on live
logevents and missed some events - server restarted and in-memory history reset
- disk projection (
logs.dir) is not enabled
Resolution
- Confirm the service status first (
runningorready). - Request logs with an explicit limit:
{
"type": "command",
"id": "logs-1",
"name": "get_logs",
"payload": {
"service": "api",
"limit": 500
}
}
- Check
truncatedandeffective_limitin the result. - For continuity, track last
seqand replay withafter_seq. - If you need session files, set
logs.dirand read projected JSONL files.
Expectations to set
- Live
logevents are best-effort. get_logsis the reliable recovery path.- Without disk projection, history is tied to the current server session.
See Logs and Config Overview.