Skip to main content

Module logging

Module logging 

Source

Enums§

LogMode

Functions§

cleanup_old_logs
Clean up log files older than retention_days in the log directory.
init_tracing
Initialize the global tracing subscriber. Returns a guard that must be held for the daemon’s lifetime to ensure the non-blocking writer flushes on drop.
resolve_log_level
Resolve the effective log level from (highest priority first):