RFR: 8320699: Add parameter to skip progress logging of OutputAnalyzer

Thomas Stuefe stuefe at openjdk.org
Fri Nov 24 16:50:03 UTC 2023


On Fri, 24 Nov 2023 10:34:02 GMT, Stefan Karlsson <stefank at openjdk.org> wrote:

> Tests using ProcessTools.executeProcess gets the following output written to stdout:
> [2023-11-24T09:58:16.797540608Z] Gathering output for process 2517117
> [2023-11-24T09:58:23.070781345Z] Waiting for completion for process 2517117
> [2023-11-24T09:58:23.071045055Z] Waiting for completion finished for process 2517117
> 
> This might be good for some use cases and debugging, but some tests spawns a large number of processes and for those this output fills up the log files.
> 
> I propose that we add a way to turn of this output for tests where we find this output to be too noisy.

I'm fine with this, but would prefer a global switch instead of hard-coding the value per test and handing it down.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/16807#issuecomment-1825910975


More information about the core-libs-dev mailing list