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 (e.g. the Bodhi Tauri app) share one policy: daily-rotating log files with date-based retention and build-profile 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.