Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8220786

Create new switch to redirect error reporting output to stdout or stderr

XMLWordPrintable

    • b15

        In certain container environments the local file system is ephemeral - its content does not survive the death of the container. In those environments post-mortem analyzing crashes can be challenging. However, stdout and stderr of the VM process are usually catched in some sort of logging system.

        A new switch is proposed, "-XX:ErrorFileRedirect", with two possible values, "stdout" or "stderr". If specified, it would print the error report to stdout or stderr instead of creating a hs-err file.

        If specified in conjunction with -XX:ErrorFile, a warning should be printed about incompatible switches, and -XX:ErrorFile should be ignored.

              stuefe Thomas Stuefe
              stuefe Thomas Stuefe
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: