Skip to main content

load_logging

Function load_logging 

Source
pub fn load_logging(
    path: impl AsRef<Path>,
) -> Result<Option<LoggingConfig>, DaemonConfigError>
Expand description

Loads only the daemon-wide logging block for tracing initialization.

The daemon installs its global subscriber before bootstrap parses the full configuration. A malformed full config is still reported by bootstrap after the file sink is live; this early read only chooses its filter and retention.