Return-Path: X-Original-To: apmail-logging-log4j-dev-archive@www.apache.org Delivered-To: apmail-logging-log4j-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A3C8511376 for ; Tue, 22 Jul 2014 13:27:39 +0000 (UTC) Received: (qmail 22623 invoked by uid 500); 22 Jul 2014 13:27:39 -0000 Delivered-To: apmail-logging-log4j-dev-archive@logging.apache.org Received: (qmail 22559 invoked by uid 500); 22 Jul 2014 13:27:39 -0000 Mailing-List: contact log4j-dev-help@logging.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Log4J Developers List" Reply-To: "Log4J Developers List" Delivered-To: mailing list log4j-dev@logging.apache.org Received: (qmail 22549 invoked by uid 99); 22 Jul 2014 13:27:39 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Jul 2014 13:27:39 +0000 Date: Tue, 22 Jul 2014 13:27:39 +0000 (UTC) From: "Nelson MELINA (JIRA)" To: log4j-dev@logging.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (LOG4J2-728) Look for log4j2.xml in assets folder (or the application data) in an Android APK. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/LOG4J2-728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14070241#comment-14070241 ] Nelson MELINA commented on LOG4J2-728: -------------------------------------- i enabled the annotation processing and it did not change a thing. What do i need to put in this .dat file to use my Log4J2ConfigurationFactory.java as a Config factory [~garydgregory] ? And where do i need to put it ? > 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: log4j-dev-unsubscribe@logging.apache.org For additional commands, e-mail: log4j-dev-help@logging.apache.org