[ 
https://issues.apache.org/jira/browse/LOG4J2-426?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13794921#comment-13794921
 ] 

Remko Popma commented on LOG4J2-426:
------------------------------------

My assumption was that the logging context name is taken from the web 
application name. It's been a while, I can't remember if I checked. If that 
assumption is correct the JMX stuff should work for multiple web applications.

> Permgen leak: Log4j2 does not unregister MBeans on shutdown
> -----------------------------------------------------------
>
>                 Key: LOG4J2-426
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-426
>             Project: Log4j 2
>          Issue Type: Bug
>          Components: JMX
>    Affects Versions: 2.0-beta9
>         Environment: JDK7 64bit, Win8 64bit. Apache Tomcat 7
>            Reporter: Sergey Alaev
>
> Subj. This causes permgen leak on undeploying web applications which uses 
> log4j2.
> Also, as far as i can see, there is no support exposing multiple log4j2 
> contexts via JMX which can be nice for web applications.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to