[][src]Module pueue_lib::log

Functions

clean_log_handles

Remove temporary stdout and stderr files for a task.

create_log_file_handles

Create and return the file handle for temporary stdout and stderr files for a task.

get_log_file_handles

Return the file handle for temporary stdout and stderr files for a task.

get_log_paths

Return the paths to temporary stdout and stderr files for a task.

read_and_compress_log_files

Return stdout and stderr of a finished process. Task output is compressed using snap to save some memory and bandwidth.

read_last_lines

Read the last amount lines of a file to a string.

reset_task_log_directory

Remove temporary stdout and stderr files for a task.