[logback-user] Incorrect casing of JMXConfigurator

M. Justin mjustin.lists at gmail.com
Tue Apr 18 01:10:08 CEST 2017


Not a major question, but I'm curious.

The MBean Object Name for the JMXConfigurator is
"Name=default,Type=ch.qos.logback.classic.jmx.JMXConfigurator".  The key
names in the key property list appear to be inconsistent with Oracle's JMX
best practices
<http://www.oracle.com/technetwork/java/javase/tech/best-practices-jsp-136021.html#mozTocId654884>
document, which recommend using "type" and "name" as the keys, not "Type"
and "Name".  Per the same document, "Object Names are case sensitive."  So
these keys do not match the Oracle recommended keys.

Was this inconsistency known or intended?

The only real consequence I can think of for this is that tools that know
how to interpret and display the standard "type" and "name" properties may
not work properly with Logback's MBean.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/logback-user/attachments/20170417/27d6ff3c/attachment.html>


More information about the logback-user mailing list