Expand description
Persistent node log writer โ ~/.iicp/logs/<node-id>.log + events.jsonl.
Used for registration, heartbeat, and deregistration events.
Both files are append-only. Rotation triggers when either file exceeds
MAX_LOG_BYTES (10 MiB); up to MAX_ROTATIONS (3) generations are kept.
This module contains no credentials โ callers MUST NOT pass token/key values.
Structsยง
- NodeLog
- Thread-safe file logger for a single IICP node.