pub fn build_log_path(unit_id: &str) -> Result<PathBuf>
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.
{log_dir}/{safe_id}-{timestamp}.log