moose_tail_log
Follow DCS log files by reading only new lines after a given line index, for near-live updates. Handles log rotation and truncation.
Instructions
Tail mode for dcs.log. Parses only lines after from_line, for near-live following. Call repeatedly, advancing from_line from the returned newFromLine to get only new events. Handles truncation/rotation by resetting to 0.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to a dcs.log file. | |
| from_line | Yes | Parse only lines after this 0-based line index. Use the newFromLine from a previous call. |