kurahi logs
このコンテンツはまだ日本語訳がありません。
Tail the gateway’s file log over its RPC connection. Works against a remote gateway when
gateway.remote.url is configured.
Related:
- Logging overview: Logging
- The OS service log (what the supervisor captured):
kurahi service logs
Examples
Section titled “Examples”kurahi logskurahi logs --followkurahi logs --jsonkurahi logs --limit 500kurahi logs --url wss://gateway.example.com:18789Options
Section titled “Options”--limit <n>: lines to return (default 200).--max-bytes <n>: byte cap on each read (default 250000).--follow: keep polling for new lines.--interval <ms>: polling interval in follow mode (default 1000).--json: one JSON object per line.--plain: plain text, no styling.--no-colordisables colors only.--url <url>: gateway WebSocket URL (default:gateway.remote.url, else the local gateway).--timeout <ms>: connection timeout (default 10000).
Authentication
Section titled “Authentication”There is no --token flag. The credential is discovered from KOLO_HOME the same way
kurahi attach and kurahi api discover it: the owner token file, the secrets store, or
gateway.remote.token when a remote gateway is configured. Secrets never go on the command line.
Exit codes
Section titled “Exit codes”- 0: lines were returned (or the tail ended cleanly).
- 1: the gateway was not reachable or the log could not be read.