JEP 158
Kirk Pepperdine
kirk at kodewerk.com
Tue Jun 19 21:44:40 UTC 2012
Hi,
I see the logging framework JEP finally was published. This is great news.
I'd like to comment on this quality
"Logging is performed at different levels: error, warning, info, debug, trace"
If we accept the problems associated with level based logging, these name work for generic frameworks such as Log4J and JDK logging. However, the names are meaningless in that they carry no semantic context with what would be logged. The nice thing about the current set of flags is they convey the information that will be printed.
On the question of log levels. I was hoping that we would have learned from the follies of using level based logging instead of a digital or tag based system. IOWs a on or off different aspects without having to eat the whole elephant of records that some developer arbitrarily decided should be dumped at a particular log level. One can level tags.. but you can't get tags or digital behaviour from levels.
Kind regards,
Kirk Pepperdine
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/hotspot-gc-dev/attachments/20120619/7dfaa7ef/attachment.htm>
More information about the hotspot-gc-dev
mailing list