You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/config_reference.rst
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -708,20 +708,23 @@ All logging handlers share the following set of common attributes:
708
708
- ``%(check_perf_upper_thres)s``: The upper threshold of the performance difference from the reference value expressed as a fractional value.
709
709
See the :attr:`reframe.core.pipeline.RegressionTest.reference` attribute of regression tests for more details.
710
710
- ``%(check_perf_value)s``: The performance value obtained for a certain performance variable.
711
-
- ``%(check_perf_var)s``: The name of the `performance variable <tutorial_basic.html#writing-a-performance-test>`__ being logged.
711
+
- ``%(check_perf_var)s``: The name of the `performance variable <tutorial_basics.html#writing-a-performance-test>`__ being logged.
712
712
- ``%(check_ATTR)s``: This will log the value of the attribute ``ATTR`` of the currently executing regression test.
713
713
Dictionaries will be logged in JSON format and all other iterables, except strings, will be logged as comma-separated lists.
714
714
If ``ATTR`` is not an attribute of the test, ``%(check_ATTR)s`` will be logged as ``null``.
715
715
This allows users to log arbitrary attributes of their tests.
716
716
For the complete list of test attributes, please refer to :doc:`regression_test_api`.
717
+
- ``%(check_job_ATTR)s``: This will log the value of the attribute ``ATTR`` of the :class:`job <reframe.core.schedulers.Job>` associated to the currently executing regression test.
717
718
- ``%(osuser)s``: The name of the OS user running ReFrame.
718
719
- ``%(osgroup)s``: The name of the OS group running ReFrame.
719
720
- ``%(version)s``: The ReFrame version.
720
721
721
722
722
723
.. versionadded:: 3.3
723
-
The ability to log arbitrary test attributes was added.
0 commit comments