Skip to main content

build_log_path

Function build_log_path 

Source
pub fn build_log_path(unit_id: &str) -> Result<PathBuf>
Expand description

Build the log file path for a unit spawn.

Format: {log_dir}/{safe_id}-{timestamp}.log Dots in unit IDs are replaced with underscores for filesystem safety.