Skip to main content

Module logging

Module logging 

Source
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 serve process.