8340363: Tag-specific default decorators for UnifiedLogging

Kirk Pepperdine kirk at kodewerk.com
Mon Sep 30 16:07:29 UTC 2024


> 
> So to be clear, is the proposal now to just drop the default decorators, 
> rather than allowing them to be replaced with alternate defaults? If 
> that is the case then it is the same as writing:
> 
> -Xlog:A+B::none
> 
> and I don't really see much value in that. But I wouldn't oppose it.
> 

I would. At a minimum you need a timestamp.
> 
> Allowing new defaults gives more flexibility - but obviously the 
> developers using the specific tag combinations have to agree on what 
> defaults to set.
> 

At the moment to get a reasonable GC log for G1, one needs to use the following setting.

-Xlog:gc*,gc+ref=debug,gc+phases=debug,gc+age=debug,safepoint:file=gc.log

Also, the “noise to signal” ratio in these logs is exceptionally high.

Kind regards,
Kirk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/hotspot-dev/attachments/20240930/51e9311d/attachment.htm>


More information about the hotspot-dev mailing list