Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-728

Look for log4j2.xml in assets folder (or the application data) in an Android APK.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.0-rc2
    • None
    • Configurators
    • Android

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              DaLN Nelson MELINA
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated: