diff --git a/reframe/frontend/cli.py b/reframe/frontend/cli.py index c4f555e649..4f737b22a7 100644 --- a/reframe/frontend/cli.py +++ b/reframe/frontend/cli.py @@ -924,6 +924,7 @@ def print_infoline(param, value): 'config_files': rt.site_config.sources, 'data_version': runreport.DATA_VERSION, 'hostname': socket.gethostname(), + 'log_files': logging.log_files(), 'prefix_output': rt.output_prefix, 'prefix_stage': rt.stage_prefix, 'user': osext.osuser(), @@ -950,7 +951,7 @@ def print_infoline(param, value): print_infoline('stage directory', repr(session_info['prefix_stage'])) print_infoline('output directory', repr(session_info['prefix_output'])) print_infoline('log files', - ', '.join(repr(s) for s in logging.log_files())) + ', '.join(repr(s) for s in session_info['log_files'])) printer.info('') try: logging.getprofiler().enter_region('test processing') diff --git a/reframe/frontend/runreport.py b/reframe/frontend/runreport.py index d17b101dbc..9550617b2d 100644 --- a/reframe/frontend/runreport.py +++ b/reframe/frontend/runreport.py @@ -18,7 +18,7 @@ # The schema data version # Major version bumps are expected to break the validation of previous schemas -DATA_VERSION = '3.0' +DATA_VERSION = '3.1' _SCHEMA = os.path.join(rfm.INSTALL_PREFIX, 'reframe/schemas/runreport.json') diff --git a/reframe/schemas/runreport.json b/reframe/schemas/runreport.json index 4a11478de0..b0a6ffe35f 100644 --- a/reframe/schemas/runreport.json +++ b/reframe/schemas/runreport.json @@ -116,6 +116,10 @@ }, "data_version": {"type": "string"}, "hostname": {"type": "string"}, + "log_files": { + "type": "array", + "items": {"type": "string"} + }, "num_cases": {"type": "number"}, "num_failures": {"type": "number"}, "num_aborted": {"type": "number"},