RFR 9: 8034903: Add Logging of Process.start arguments and resulting pid
martinrb at google.com
Fri Feb 14 18:10:49 UTC 2014
I'm not excited about having logging statements added throughout the jdk
implementation. PlatformLogger is an implementation detail, so real users
cannot benefit. Your OS should already provide facilities to let you trace
process creation. E.g. on Linux you can do this with strace (and I have
done this myself in the past to debug subprocess creation). So I'd say
adding logging just to provide a small rarely used convenience for jdk
developers is Not Worthwhile.
On Thu, Feb 13, 2014 at 1:26 PM, roger riggs <roger.riggs at oracle.com> wrote:
> Having folks stumbling over process creation and problems of quoting,
> especially on windows, it seems useful to log the native commands and
> 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
> but verbose, that it should be Logged at FINER. The pid of the spawned
> 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.
> Thanks, Roger
More information about the core-libs-dev