RFR: 8141211: Convert TraceExceptions to Unified Logging
John Rose
john.r.rose at oracle.com
Wed Dec 16 21:01:19 UTC 2015
On Dec 15, 2015, at 12:26 PM, Rachel Protacio <rachel.protacio at oracle.com> wrote:
>
> - each incident of ttyLocker that involved separate logging lines for the same message have been consolidated to one line
> - each incident of ttyLocker that involved separate print statements to one logging line has been changed to write to a buffer first, then print the entire line at once to the log stream
This is a strong argument for putting such functionality into the UL framework,
instead of giving developers the unfortunate choice of either (a) doing it right
with a bunch of random logic (Rachel's choice here) or (b) sweeping it under
the carpet by breaking up a multi-part message into several log messages.
We need to admit this is the Achilles Heel of logging as normally conceived
(especially for very long multi-part messages like disassembler output,
backtraces, or compilation logs), and just fix it in the UL frameowrk.
— John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/serviceability-dev/attachments/20151216/fbe37e0c/attachment.html>
More information about the serviceability-dev
mailing list