CSR :
|
|
Relates :
|
|
Relates :
|
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.
|