RFR (L): 8046148: JEP 158 Unified JVM Logging
Kirk Pepperdine
kirk.pepperdine at gmail.com
Fri Sep 11 19:19:11 UTC 2015
> On Sep 11, 2015, at 5:30 PM, Max Ockner <max.ockner at oracle.com> wrote:
>
> There would be at most one additional level of verbosity, which corresponds to calling the logging flag with "Verbose" or "WizardMode". In this case, I'm not sure if there are any additional levels of verbosity.
This is an excellent example of some of the things I’ve been so clumsily trying to say. This use case could easily be managed with nested tags. You can achieve levels with tags. You can create nomenclatures that make sense for your domain. it simplifies the spec and the implementation. There are just too many reasons to drop levels and add proper support for nested tags. There are also many examples of where this works very well. SNMP for example. The spec is very simple as are the supporting implementations. Unfortunately Java logging systems have saddled us with a naive implementations that we simply can’t seem to shake.
Kind regards,
Kirk
More information about the hotspot-dev
mailing list