Log4j 2
  1. Log4j 2
  2. LOG4J2-697

Self written Appender stopped working

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 2.0-rc2
    • Fix Version/s: 2.0-rc2
    • Component/s: Core
    • Labels:
      None
    • Environment:

      Eclipse 4.3 on Windows 7 Professional 64 bit, some 1.6_0_X JDK with x > 43.

      Description

      We had a self written appender which stopped working when switching from rc-1 to rc-2.

      I tried to enable Annoation Processing in Eclipse as I assume that this is due to changed stuff around the Log4j2Plugins.dat. However I get no hint that the annotations are actually processed. Windows finds no new file on system (but even fails to find the existing Log4j2Plugins.dat). Furthermore setting the status in the configuration to "trace" I got the impression that only the Log4j2Plugins.dat from the log4j2 jar is loaded.

      I'm not sure whether this is really a critical issue for more users, for us it is a blocker. Taking the problems into account we had with Log4j2 so far (memory leaks, API breaks, ...) we are wondering whether it is worth to completely write the logging by ourselves and get rid of log4j2 or switch back to something like SLF4j.

      1. log4jStartUpLog.txt
        151 kB
        Sebastian Oerding
      2. TranslogAppender.java
        0.4 kB
        Sebastian Oerding
      3. log4j2.xml
        0.5 kB
        Sebastian Oerding

        Activity

        Sebastian Oerding created issue -
        Sebastian Oerding made changes -
        Field Original Value New Value
        Attachment log4jStartUpLog.txt [ 12653594 ]
        Attachment TranslogAppender.java [ 12653595 ]
        Attachment log4j2.xml [ 12653596 ]
        Sebastian Oerding made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 2.0-rc2 [ 12326292 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Sebastian Oerding
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development