The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

HPC::Runner::Command::Utils::Log

Class for all logging attributes

Command Line Options

logdir

Pattern to use to write out logs directory. Defaults to outdir/prunner_current_date_time/log1 .. log2 .. log3.

show_process_id

Show process_id in each log file. This is useful for aggregating logs

process_table

We also want to write all cmds and exit codes to a table

#TODO add a json format also

metastr

JSON string passed from HPC::Runner::App::Scheduler. It describes the total number of jobs, processes, and job batches.

Internal Attributes

You shouldn't be calling these directly.

Subroutines

set_logdir

Set the log directory

set_logfile

Set logfile

init_log

Initialize Log4perl log