You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by "Gary Gregory (JIRA)" <ji...@apache.org> on 2014/09/03 17:54:52 UTC

[jira] [Comment Edited] (LOG4J2-728) Look for log4j2.xml in assets folder (or the application data) in an Android APK.

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

Gary Gregory edited comment on LOG4J2-728 at 9/3/14 3:54 PM:
-------------------------------------------------------------

[~jvz]: Is there a fix in git or are you saying this should be fix in time for 2.1?
[~DaLN]: Is it possible for you to checout from git, build, and test the resulting 2.1-SNAPSHOT?

It looks like 2.1 will be available sooner rather than later as we are focusing on smaller grained released in the near term (2.1, 2.2, 2.3).


was (Author: garydgregory):
[~jvz] Is there a fix in git or are you saying this should be fix in time for 2.1?
[~DaLN] Is it possible for you to checout from git, build, and test the resulting 2.1-SNAPSHOT?

It looks like 2.1 will be available sooner rather than later as we are focusing on smaller grained released in the near term (2.1, 2.2, 2.3).

> 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 ) ?
> UPDATE: The file is loaded correctly, but it's processing is not done fully. See comments below.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org