RFR: 8153723: Change the default logging output for errors and warnings from stderr to stdout

Staffan Larsen staffan.larsen at oracle.com
Tue May 17 16:00:44 UTC 2016


Thanks for fixing this.

Should we add a test to verify this?

> On 17 maj 2016, at 12:06, Robbin Ehn <robbin.ehn at oracle.com> wrote:
> 
> Hi, please review!
> 
> This means that the default is -Xlog:all=warning:stdout
> And has the pro that adding -Xlog:all=trace (implicit stdout) to your cmdline
> will only print e.g. an error to stdout.
> (now this will print one to stderr and one to stdout, on a tty this can be confusing)
> 
> Bug: https://bugs.openjdk.java.net/browse/JDK-8153723
> Webrev: http://cr.openjdk.java.net/~rehn/8153723/webrev/
> 
> Passes hotspot_all.
> 
> Thanks!
> 
> /Robbin



More information about the hotspot-runtime-dev mailing list