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

Marcus Larsson marcus.larsson at oracle.com
Wed May 18 13:15:35 UTC 2016


Hi Robbin,


On 05/18/2016 10:01 AM, Robbin Ehn 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/

Looks good!

Thanks for fixing this,
Marcus

>
> /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