pub static MESH_ENABLE_FILE_CAPTURE: Key<bool>Expand description
When true: if stdio is piped, each child’s StreamFwder
also forwards lines to a host-scoped FileAppender managed by
the BootstrapProcManager. That appender creates exactly two
files per manager instance—one for stdout and one for
stderr—and all child processes’ lines are multiplexed into
those two files. This can be combined with
MESH_ENABLE_LOG_FORWARDING (“stream+local”).
Notes:
- The on-disk files are aggregate, not per-process.
Disambiguation is via the optional rank prefix (see
PREFIX_WITH_RANK), whichStreamFwderprepends to lines before writing. - On local runs, file capture is suppressed unless
FORCE_FILE_LOG=true. In that caseStreamFwderstill runs, but theFileAppendermay beNoneand no files are written. MESH_TAIL_LOG_LINESonly controls the in-memory rotating buffer used for peeking—independent of file capture.