B4 Log viewing
- Area
- B — Running it
- Audience
- operator
- Kind
- feature
- Status
- accepted
- Maturity
- shipped
- Shipped in
- 0.8.0
- Labels
- tui
- Requires
- G4
The feature in the specification · Read at
Requirements
Logs from multiple services MUST be viewable in one chronologically interleaved stream, tagged by source.
- locked by
- 0.8.0 met
- recorded done
- lemonfibercrates/lemonfiber-core/src/logs.rs
- cited by
- lemonfiber@da03b39e14lemonfiber@fb11824654
Filtering by service, severity and free text MUST apply to both scrollback and incoming lines.
Scrolling back MUST detach from following, and returning to the tail MUST re-attach.
While detached, the count of new lines MUST be shown.
When a service fails to start or a check fails, its recent log lines MUST be surfaced inline at the failure.
Severity MUST be normalised across services where the format permits, and lines MUST pass through unclassified rather than be guessed.
Control sequences in log output MUST NOT alter terminal state.
Buffer truncation MUST be stated explicitly.
High-rate output MUST NOT block input; sampling MUST be stated when active.
Exported logs MUST pass through the same redaction rules as the support bundle.
- locked by
- 0.8.0 met
- recorded done
- lemonfibercrates/lemonfiber/src/logs.rs
- cited by
- lemonfiber@9f7ee2fa2flemonfiber@fab490c1ed
A service restarting mid-view MUST be noted in the stream without ending the view.
- locked by
- 0.8.0 met
- recorded done
- lemonfibercrates/lemonfiber/src/logs.rscrates/lemonfiber/src/terminal.rs
- cited by
- lemonfiber@70eb6e1a5f
An empty result MUST be stated, with the number of lines scanned.
Historical logs MUST be read from the tail backwards, not by loading the whole file.
- locked by
- 0.8.0 met
- recorded done
- lemonfibercrates/lemonfiber-adapters/tests/integration/engine.rs
- cited by
- lemonfiber@95a8f21c9b