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

Example of extending Appenders tries to extend from final class OutputStreamAppender

    XMLWordPrintableJSON

    Details

    • Type: Documentation
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.11.2
    • Component/s: Documentation
    • Labels:
      None

      Description

      On the page https://logging.apache.org/log4j/2.0/manual/extending.html#Appenders the code example StubAppender extends from OutputStreamAppender but that class is final and cannot be extended. A better example would be great!

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              aakoch Adam A. Koch
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 10m
                10m