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

Staffan Larsen staffan.larsen at oracle.com
Wed May 18 18:09:57 UTC 2016


Looks good!

Thanks,
/Staffan

> On 18 maj 2016, at 10:01, Robbin Ehn <robbin.ehn at oracle.com> wrote:
> 
> Hi all,
> 
> Also added test as suggested.
> 
> Incremental:
> http://cr.openjdk.java.net/~rehn/8153723/02_inc/
> 
> Full:
> http://cr.openjdk.java.net/~rehn/8153723/02/
> 
> /Robbin
> 
> On 05/17/2016 12:06 PM, Robbin Ehn 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