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

    • Documentation
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.0
    • 2.11.2
    • Documentation
    • 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

            Unassigned Unassigned
            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