 ReidandGitHub
|
67b2c08a7c
|
feat(cli): add logs command for gateway log access (#1105)
- Add `ironclaw logs` to tail gateway.log with reverse-seek (O(output) memory, no full-file load)
- Add `--follow` for live SSE streaming from /api/logs/events
- Add `--level` to get/set runtime log level via /api/logs/level
- Support --json, --plain, --local-time, --url, --token, --timeout flags
- Respect --config for gateway address/token resolution (consistent with other CLI commands)
- Fail explicitly when --config points to invalid file instead of silent fallback
- Wire Logs variant into Command enum and main.rs dispatch
- Add 9 unit tests (tail_file chunked read, colorize, timestamp conversion, JSON output)
- Update FEATURE_PARITY.md: logs ❌ → 🚧
|
2026-03-15 05:32:10 +00:00 |
|