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

Ralph Goers commented on LOG4J2-728:
------------------------------------

There is more here that I don't understand.  The log clearly says it is 
processing 
jar:file:/data/app/com.torointl.log4j2xtest-2.apk!/assets/log4j2.xml. I am 
assuming that that file is the same as the configuration you have up above?  
That shows a status of WARN yet we are seeing some DEBUG output in the log, but 
not all.  What happens if you change the status level to debug or trace? If it 
is truly processing your file then it should provide more information about 
what is going on.

> Look for log4j2.xml in assets folder (or the application data) in an Android 
> APK.
> ---------------------------------------------------------------------------------
>
>                 Key: LOG4J2-728
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-728
>             Project: Log4j 2
>          Issue Type: Bug
>          Components: Configurators
>    Affects Versions: 2.0-rc2
>         Environment: Android
>            Reporter: Nelson MELINA
>              Labels: android
>
> To add files in an Android apk, you need to put them in an assets folder and 
> then they are in an "assets" folder in the APK.
> Log4j 2 needs to find it there when it exists (not the case now).
> Also would it be possible to load the xml configuration file from the 
> application data ( 
> https://developer.android.com/guide/topics/data/data-storage.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