centic9 commented on issue #2129: URL: https://github.com/apache/logging-log4j2/issues/2129#issuecomment-1871115949
Hi, Yes I know the sad state of some differences between Java on Android and JDK classes, however a lot of code can be used in both worlds currently. It was working up to log4j 2.21.1, probably without any specific effort being put into enabling it. As log4j is used in many third party libraries, some of which try to support running on Android, log4j is often dragged in as transitive dependency. The regression in newer versions will likely make it harder for all these libraries to provide support, maybe at sometime to a level which forces them to use a different logging framework as there is no workaround as far as I see. As the breaking changes do not look absolutely necessary based on the commit-message, you might want to consider doing a minimal revert so it can again be used in this way? Thanks... Dominik. On Thu, Dec 28, 2023 at 11:32 AM Joe ***@***.***> wrote: > @centic9 <https://github.com/centic9> > > Does log4j2 support Android environments? > I think it's not. > Android SDK API 34 is compatible with OpenJDK some class,not all classes. > > — > Reply to this email directly, view it on GitHub > <https://github.com/apache/logging-log4j2/issues/2129#issuecomment-1871037431>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/AAEF3YT755SW25A2FAEXWDDYLVDDRAVCNFSM6AAAAABBDQA6ZGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZRGAZTONBTGE> > . > You are receiving this because you were mentioned.Message ID: > ***@***.***> > -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
