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

Remove the Generics from Appender

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0-beta8
    • 2.0-beta9
    • Core
    • None

    Description

      As proposed on the mailing list, removing the Generic from Appender will make the API more readable and easier to use. This is an updated patch which does not touch the AbstractDatabase code.

      If you use subversion, just apply the attached patch to trunk. It should apply.

      The easier way to deal with this patch is to do this:

      % mkdir appender-patch
      % cd appender-patch
      % git svn init http://svn.apache.org/repos/asf/logging/log4j/log4j2/trunk
      % git svn fetch -r 1512793
      % git remote add hgschmie https://github.com/hgschmie/logging-log4j2.git
      % git fetch hgschmie
      % git cherry-pick $(git log hgschmie/appender-only | head -1 | cut -d' ' -f2)
      

      which will apply the latest version of the patch automatically to the repo.

      Then doing

      % git svn dcommit 
      

      will put it into subversion.

      Attachments

        Activity

          People

            Unassigned Unassigned
            henning Henning Schmiedehausen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: