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/running.rst
+8-3Lines changed: 8 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -849,7 +849,7 @@ All handlers accept the following set of attributes (keys) in their configuratio
849
849
850
850
* ``level``: (default: ``DEBUG``) The lowest level of log records that this handler can process.
851
851
* ``format`` (default: ``'%(message)s'``): Format string for the printout of the log record.
852
-
ReFrame supports all the `format strings<https://docs.python.org/3.6/library/logging.html#logrecord-attributes>`__ from Python's logging library and provides the following additional ones:
852
+
ReFrame supports all the `log record attributes<https://docs.python.org/3.6/library/logging.html#logrecord-attributes>`__ from Python's logging library and provides the following additional ones:
853
853
854
854
- ``check_environ``: The programming environment a test is currently executing for.
855
855
- ``check_info``: Print live information of the currently executing check.
@@ -877,15 +877,20 @@ All handlers accept the following set of attributes (keys) in their configuratio
877
877
- ``osgroup``: The group name of the OS user running ReFrame.
878
878
- ``version``: The ReFrame version.
879
879
880
-
* ``datefmt`` (default: ``'%FT%T'``) The format that will be used for outputting timestamps (i.e., the ``%(asctime)s`` field).
881
-
Acceptable formats must conform to standard library's `time.strftime() <https://docs.python.org/3.6/library/time.html#time.strftime>`__ function.
880
+
* ``datefmt`` (default: ``'%FT%T'``) The format that will be used for outputting timestamps (i.e., the ``%(asctime)s`` and the ``%(check_job_completion_time)s`` fields).
881
+
In addition to the format directives supported by the standard library's `time.strftime() <https://docs.python.org/3.6/library/time.html#time.strftime>`__ function, ReFrame allows you to use the ``%:z`` directive -- a GNU ``date`` extension -- that will print the time zone difference in a RFC3339 compliant way, i.e., ``+/-HH:MM`` instead of ``+/-HHMM``.
882
882
883
883
.. caution::
884
884
The ``testcase_name`` logging attribute is replaced with the ``check_info``, which is now also configurable
885
885
886
886
.. versionchanged:: 2.10
887
887
888
888
889
+
.. note::
890
+
Support for fully RFC3339 compliant time zone formatting.
0 commit comments