Generate file names for batch tests in batch module.
Log output from batch commands.