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

log4j2 Configuration File not found in shaded jar

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • 3.0.0
    • None
    • None
    • This should already be fixed in 3.0 since Plugin Providers are now located using ServiceLoader - assuming the shading process properly merges the service loader files in META-INF/services

    Description

      When creating a shaded uber jar with maven-shade-plugin or jar-with-dependencies the log4j2 configuration file like log4j2.xml won't found. Worked on 2.0.x but needs lot of time time to start. Problem exists since 2.1.

      Attachments

        Activity

          People

            Unassigned Unassigned
            pin0ychris Christian Walczak
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: