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

JPAAppender stops logging because META-INF/log4j-provider.properties is left open

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 2.0-beta8
    • 2.0-beta9
    • Appenders
    • None
    • EclipseLink, version: Eclipse Persistence Services - 2.3.0.v20110604-r9504
      Glassfish 3.1.1
      Mysql 5

    Description

      After the EAR is redeployed the JPAAppender stops logging.
      The exception is: SEVERE: java.lang.IllegalArgumentException: Object: com.log4j.JpaLog@1b7d808 is not a known entity type.

      The log4j setup is done in a singleton bean with the Startup annotation

      Attachments

        1. ProviderUtil.java
          4 kB
          jd
        2. patch.diff
          1 kB
          jd
        3. Log4jSetup.java
          2 kB
          jd
        4. JpaLog.java
          1 kB
          jd

        Activity

          People

            Unassigned Unassigned
            jdbuys@gmail.com jd
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: