{"ts":"2026-01-15T10:30:00.001Z","level":"trace","msg":"entering request handler","caller":"api/handler.go:42","func":"api::get_user"}
{"ts":"2026-01-15T10:30:00.023Z","level":"debug","msg":"cache miss, querying database","logger":"db.cache","query":"SELECT * FROM users WHERE id = 42"}
{"ts":"2026-01-15T10:30:00.087Z","level":"info","msg":"request completed","logger":"http.server","caller":"server/router.go:118","method":"GET","path":"/api/v1/users/42","status":200,"latency_ms":86}
{"ts":"2026-01-15T10:30:01.456Z","level":"info","msg":"server listening","logger":"http.server","host":"0.0.0.0","port":8080}
Starting background worker...
{"ts":"2026-01-15T10:30:02.789Z","level":"warn","msg":"high memory usage detected","logger":"monitor","percent":87,"threshold":80}
{"ts":"2026-01-15T10:30:03.012Z","level":"error","msg":"connection refused","logger":"db.pool","caller":"db/pool.go:67","host":"db.prod.internal","port":5432,"retries":3,"error":"dial tcp 10.0.1.5:5432: connect: connection refused"}
{"ts":"2026-01-15T10:30:04.100Z","level":"fatal","msg":"disk full, shutting down","mount":"/data","available":"0B","error":"Traceback (most recent call last):\n  File \"/src/app/storage.py\", line 89\n    raise StorageError(\"no space left on device\")\nStorageError: no space left on device"}
