[ 
https://issues.apache.org/jira/browse/LOG4J2-716?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Remko Popma resolved LOG4J2-716.
--------------------------------

    Resolution: Fixed

Fixed in revision 1611003.
Please verify and close.

> Auto-disable JMX when detecting Android
> ---------------------------------------
>
>                 Key: LOG4J2-716
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-716
>             Project: Log4j 2
>          Issue Type: Improvement
>          Components: JMX
>            Reporter: Remko Popma
>            Assignee: Remko Popma
>             Fix For: 2.1
>
>
> During the investigation of LOG4J2-703 we discovered that on Android's Dalvik 
> VM, Log4J2's JMX components cannot be initialized.
> This can be worked around by setting system property 
> {{log4j2.disable.jmx=true}}.
> This ticket is to automatically set that system property when detecting that 
> Log4j is running on Android.
> TODO investigate if JMX is not supported at all on that environment or 
> whether it can be made to work if invoked correctly. UPDATE: 
> {{java.lang.management}} is not supported as of Android API level 20. See 
> http://developer.android.com/reference/packages.html



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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

Reply via email to