Release Note: `Runtime.exec` and `ProcessBuilder` Logging of Command Arguments

XMLWordPrintable

      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.

            Assignee:
            Roger Riggs
            Reporter:
            Roger Riggs
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: