logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nelson MELINA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LOG4J2-728) Look for log4j2.xml in assets folder (or the application data) in an Android APK.
Date Wed, 27 Aug 2014 07:32:58 GMT

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

Nelson MELINA commented on LOG4J2-728:

Is there any progress planned for this issue and making sure Log4j 2 works on Android ?

Sorry to be a pain but i wanted to use it in a project and if it will not be possible in a
short/medium term, i need to know to find another solution.

Thanks in advance.

> 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

This message was sent by Atlassian JIRA

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

View raw message