RFR 9: 8034903: Add Logging of Process.start arguments and resulting pid

roger riggs roger.riggs at oracle.com
Thu Feb 13 21:26:47 UTC 2014


Hi,

Having folks stumbling over process creation and problems of quoting,
especially on windows, it seems useful to log the native commands and 
arguments.
They are proposed to be logged using the PlatformLogger at Level.FINE
which will not be logged by default. The environment is useful in some 
cases,
but verbose, that it should be Logged at FINER.  The pid of the spawned 
process
logged as well for traceability.

Please take a look at this first draft and comment on whether it is useful,
a good idea and any improvements needed.

Webrev:
    http://cr.openjdk.java.net/~rriggs/webrev-log-processcreate/

Thanks, Roger




More information about the core-libs-dev mailing list