fix(logUtils): honour the documented console argument; ETSI_QUIET_IO=1 keeps requests and responses out of the terminal

fix(logUtils): honour the documented console argument; ETSI_QUIET_IO=1 keeps requests and responses out of the terminal

Output and Output Notification document console ("If false, the JSON is not written to terminal") and ignored it: every request, response and notification went to the terminal. On a full run that is thousands of them, burying the one line per Test Case that tells what happened.

  • console is honoured, also when Robot passes it as a string ("False", "no", "0", "off").
  • ETSI_QUIET_IO=1 switches the echo off for the whole run, without touching a Test Case. Nothing is lost: logger.info still writes everything to log.html and output.xml.
  • README: "Keep the requests and responses out of the terminal".

001_01 against a broker: 9/9 with and without ETSI_QUIET_IO; the terminal goes from 1064 lines to 34, output.xml holds the same 27 requests both ways. No Test Case changed.

Merge request reports

Loading
Loading