-
Sub-task
-
Resolution: Delivered
-
P4
-
21
Processes started by `Runtime.exec` and `ProcessBuilder` can be enabled to log the command, arguments, directory, stack trace, and process id. The exposure of this information should be reviewed before implementation. Logging of the information is enabled when the logging level of the `System#getLogger(String)` named `java.lang.ProcessBuilder` is `System.Logger.Level.DEBUG` or `Logger.Level.TRACE`.
When enabled for `Level.DEBUG`, only the process id, directory, command, and stack trace are logged.
When enabled for `Level.TRACE`, the command arguments are included with the process id, directory, command, and stack trace.
When enabled for `Level.DEBUG`, only the process id, directory, command, and stack trace are logged.
When enabled for `Level.TRACE`, the command arguments are included with the process id, directory, command, and stack trace.