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

Custom appenders no longer found with Java 11

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.12.1
    • None
    • Appenders
    • None

    Description

      After upgrading to Java 11, the custom appenders are no longer found. The following errors are shown when running the app:

      2019-09-10 21:44:54,195 main ERROR Error processing element GuiAppender ([Appenders: null]): CLASS_NOT_FOUND
      2019-09-10 21:44:54,240 main ERROR Appenders contains an invalid element or attribute "OurApplicationInsightsAppender"
      2019-09-10 21:44:54,261 main ERROR Unable to locate appender "applicationInsightsAppender" for logger config "root"
      2019-09-10 21:44:54,262 main ERROR Unable to locate appender "GuiLogger" for logger config "org.jabref"
      2019-09-10 21:44:54,262 main ERROR Unable to locate appender "GuiLogger" for logger config "org.apache.pdfbox"

      The log4j config file can be found here:
      https://github.com/JabRef/jabref/blob/master/src/main/resources/log4j2.xml
      and the appender here:
      https://github.com/JabRef/jabref/blob/master/src/main/java/org/jabref/gui/logging/GuiAppender.java

      (They were working with Java 8, so it shouldn't be a configuration problem.)

      Attachments

        Activity

          People

            Unassigned Unassigned
            TobiasDiez Tobias Diez
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: