RFR: 8320699: Add parameter to skip progress logging of OutputAnalyzer
David Holmes
dholmes at openjdk.org
Fri Nov 24 13:09:05 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 can't help but feel that if you disable this output then you are going to be missing it in the cases that you need it! Something will go wrong and there won't be enough info in the log to know what it was.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/16807#issuecomment-1825651785
More information about the core-libs-dev
mailing list