Expand description
Rotating JSON-lines log for the node. Path comes from the caller or
GATE4AGENT_NODE_LOG — never a hardcoded absolute path.
Functions§
- env_
name - error
- info
- init
- Install the file sink. Also mirrors every line to stderr. Safe to call more than once: the first successful path wins.
- init_
from_ env - Init from
GATE4AGENT_NODE_LOGwhen set. No-op when unset. - path_
beside_ state - Resolve the default log path next to an enroll/state directory
(
<state>/node.log), without hardcoding a home root. - warn