Files
weichenandCursor bed0dbf076
ci / vet-and-test (push) Successful in 4s
ci / docker-checkout-hostgateway (push) Successful in 2s
Add a structured logger and collector so runs can be traced across processes.
Sync and async sinks, redaction, and a queryable HTTP service keep concurrent logs tied to a trace id.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-29 13:51:16 +00:00

23 lines
614 B
JSON

{
"service": "agent-squad",
"level": "info",
"modules": { "engine": "debug", "server": "warn" },
"sinks": [
{ "type": "console", "format": "human", "level": "info" },
{
"type": "file",
"path": "logs/app.jsonl",
"format": "json",
"rotation": { "max_bytes": 104857600, "keep": 10 }
},
{
"type": "http",
"url": "http://127.0.0.1:8092/v1/logs",
"async": true,
"batch": { "max_entries": 200, "flush_interval_ms": 2000 }
}
],
"redaction": { "enabled": true, "extra_patterns": [] },
"trace": { "generate": true, "header": "X-Trace-Id" }
}