log4j support in Android

后端 未结 6 1309
無奈伤痛
無奈伤痛 2020-11-27 04:57

I am attempting to shoehorn an existing SDK onto an android device and one of the dependencies of said SDK is Apache log4j. I am able to load my test program onto the androi

6条回答
  •  醉梦人生
    2020-11-27 05:50

    I successfully got log4j working on android with a Socket Appender and Log4j Chainsaw. All code is located in this repository. Slf4j set up and working too. Be aware you have to configure it programmatically. You cannot use .properties or .xml files the parser wont work on android. Enjoy.

    https://sourceforge.net/projects/log4j-android/

提交回复
热议问题