batchtools icon indicating copy to clipboard operation
batchtools copied to clipboard

custom log.file name?

Open tdhock opened this issue 6 years ago • 4 comments

hi there

I see in the templates that there is a log.file parameter, and I would like to specify that (so I can control where the log file exists on the file system, rather than letting batchtools assign a random name). is that possible? I didn't see that in the documentation.

tdhock avatar Nov 08 '18 23:11 tdhock

I see in the templates that there is a log.file parameter, and I would like to specify that (so I can control where the log file exists on the file system, rather than letting batchtools assign a random name). is that possible? I didn't see that in the documentation.

This is not possible at the moment. Logs are always stored in [reg$file.dir]/logs/. Can you explain why you need this?

mllg avatar Nov 12 '18 07:11 mllg

well for a job that produces the out file foo.out I like to have a matching foo.sh that launches the job and a matching foo.log

tdhock avatar Nov 13 '18 20:11 tdhock

It would be possible to use the job.name for the log file name (?setJobName). Would that suffice?

mllg avatar Nov 16 '18 22:11 mllg

That's not exactly what I was thinking of, but It would be preferable.

tdhock avatar Nov 19 '18 17:11 tdhock