RFR (L): 8046148: JEP 158 Unified JVM Logging

Kirk Pepperdine kirk at kodewerk.com
Fri Sep 18 10:38:33 UTC 2015


> On Sep 17, 2015, at 10:05 PM, Ioi Lam <ioi.lam at oracle.com> wrote:
> 
> Or, could we change the [] to <>? That way it's easier to parse by regexp.
> 
> [2015-09-15T10:08:40.407-0100][0.203s]
> regex is:   \[([^\[]*)\]\[([^\[]*)\]
> 
> <2015-09-15T10:08:40.407-0100><0.203s>
> regex is:    <([^>]*)><([^>]*)>

+1

It’s been traditional to use “[“  but moving to “<“ would make regex easier to read.

Regards,
Kirk



More information about the hotspot-dev mailing list