Expand description
Logging initialization.
The implementation lives in bamboo-infrastructure so the server binary, the
CLI/TUI, and embedded hosts share daily-rotating log files with date-based
retention. The standalone server has a stable info default while embedding
APIs can opt into build-profile-derived levels.
These re-exports preserve the historical bamboo_agent::server::logging::*
call paths.
Structs§
- LogOptions
- Tuning knobs for
init_logging_with_options.
Constants§
- DEFAULT_
MAX_ LOG_ FILES - Number of dated log files to retain before the oldest are purged on rollover. With daily rotation this is roughly two weeks of history.
Functions§
- init_
logging - Initialize stdout-only logging.
- init_
logging_ with_ home - Initialize file + stdout logging for a process rooted at
home. - init_
logging_ with_ options - Initialize file + stdout logging from explicit
LogOptions. - init_
server_ logging_ with_ home - Initialize file + stdout logging for the standalone
bamboo serveprocess.