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

Remove Final Declarations on Many Classes/Methods

    XMLWordPrintableJSON

Details

    • Patch

    Description

      Within my organization, I've had to develop a custom appender that automatically configures certain properties and a specific layout to tie into other initiatives we have tied to logging. Log4j2 made this much more difficult than Log4j1 due to the use of final on many classes (e.g. the appender implementations) and methods (all pattern layout methods). This has made extension overly difficult and filled with a lot of copy and paste that I'd rather not have. Is it possible that these could be removed to make it easier to extend the existing implementations?

      Attachments

        Activity

          People

            Unassigned Unassigned
            albernhagen Andrew Bernhagen
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 2h
                2h
                Remaining:
                Remaining Estimate - 2h
                2h
                Logged:
                Time Spent - Not Specified
                Not Specified