reframe
reframe copied to clipboard
non-perf file logs not saved in prefix
currently, perflogs, output, and stage files are saved in the prefix when specified with --prefix
.
the non-perf file logs, however, are saved in the current working dir (if 'name'
is specified).
we would like to save those also in the prefix.
this can be done by specifying the full path in the 'name'
key of the file log handler. this however is not ideal: if the user specifies the prefix with --prefix
, the prefix will be ignored. this complicates having a common logging config section, which is what we are trying to implement in the EESSI project (see https://github.com/EESSI/test-suite/pull/80)
could you add support for this? or is there a way to access the prefix path in the config file?
note: option --save-log-files
copies the log files into the prefix, but only after the reframe tests have run, which we don't want. it also keeps the original log files in the current working directory.
I see what you mean and it makes sense to have the log file prefixed with whatever is the run's prefix.
is there a way to access the prefix path in the config file?
No, there is not.