Log4j 2
  1. Log4j 2
  2. LOG4J2-36

Appender interface should be refactored

    Details

    • Type: Wish Wish
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Appenders
    • Labels:
      None

      Description

      The Appender interface in log4j 1.2 (carried over in the rgoers contribution) requires an implementation to not only define its distinctive logging destination also but also a composite filter (the addFilter(), getFilter(), getFilters() method). Because of that almost all custom appenders in log4j 1.2 extend from AppenderSkeleton to inherit the implementation of composite filter. The appender interface should be refactored so it contains a reference to a generic Filter (which may or may not be a composite filter) and a Channel (or whatever we want to call the bit that makes one appender different from another).

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Curt Arnold
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development