Skip to main content

prepare_log_file_path

Function prepare_log_file_path 

Source
pub fn prepare_log_file_path(job_id: u32) -> Result<PathBuf>
Expand description

Returns the log file path for a job, archiving any existing log first. Only call this when starting a new job execution to avoid losing active logs.