The Configuration name is not used to register the LoggerContext. 

JMX MBeans for LoggerContext are registered with unique names: their hashcode 
is appended to the name. The first part of the name depends on what kind of 
application it is.  I believe that for web apps we try to use a meaningful name 
from the web context (?). 

Sent from my iPhone

> On Mar 14, 2017, at 1:10, Matt Sicker <boa...@gmail.com> wrote:
> 
> MBeans are named according to the LoggerContext name which I believe is the
> name you give in the <Configuration name="foo"> attribute.
> 
> On 13 March 2017 at 10:51, Marasoiu Nicolae <nicolae.maras...@cegeka.com>
> wrote:
> 
>> Hi,
>> 
>> 
>> If log4j2 is used in multiple modules, each living in its own classloader,
>> is it possible that all of them are exposed over JMX? If so, what happens
>> to the overlapping keys (paths) ? Is it possible to specify a different JMX
>> root for each one?
>> 
>> Thanks,
>> 
>> 
>> Met vriendelijke groeten / Meilleures salutations / Best regards
>> 
>> 
>> Nicolae Marasoiu
>> Agile Developer
>> 
>> [http://signature.cegeka.com/2016/stripe-small.jpg]
>> 
>> 
>> E  nicolae.maras...@cegeka.com<mailto:nicolae.maras...@cegeka.com>
>> 
>> 
>> [http://signature.cegeka.com/2016/stripe-large.jpg]
>> 
>> 
>> [http://signature.cegeka.com/2016/logo.jpg]     CEGEKA 15-17 Ion
>> Mihalache Blvd. Tower Center Building, 4th,5th,6th,8th,9th fl
>> RO-011171 Bucharest (RO), Romania
>> T +40 21 336 20 65
>> WWW.CEGEKA.COM<http://www.cegeka.com>   [LinkedIn]  <
>> https://www.linkedin.com/company/cegeka-romania>
>> 
>> 
>> 
> 
> 
> -- 
> Matt Sicker <boa...@gmail.com>

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org
For additional commands, e-mail: log4j-user-h...@logging.apache.org

Reply via email to