Log4j 2
  1. Log4j 2
  2. LOG4J2-227

Rename AsynchAppender to AsyncAppender

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-beta5
    • Fix Version/s: 2.0-beta6
    • Component/s: Appenders, Core, Documentation
    • Labels:
      None

      Description

      Propose to rename AsynchAppender to AsyncAppender.
      In addition rename the plugin name for that appender from Asynch to Async.

      Reasons for renaming:

      • consistency with Log4j-1.x and Logback naming
      • consistency with Log4j-2.0 Async Loggers naming
      • personal preference

      As per discussion on the mailing list, we can still make this change since we are still in beta.

        Activity

        Hide
        Remko Popma added a comment -

        Fixed in revision 1476970.

        Affected files:
        Adding core/src/main/java/org/apache/logging/log4j/core/appender/AsyncAppender.java
        Deleting core/src/main/java/org/apache/logging/log4j/core/appender/AsynchAppender.java
        Adding core/src/test/java/org/apache/logging/log4j/core/appender/AsyncAppenderNoLocationTest.java
        Adding core/src/test/java/org/apache/logging/log4j/core/appender/AsyncAppenderTest.java
        Deleting core/src/test/java/org/apache/logging/log4j/core/appender/AsynchAppenderNoLocationTest.java
        Deleting core/src/test/java/org/apache/logging/log4j/core/appender/AsynchAppenderTest.java
        Sending core/src/test/resources/log4j-asynch-no-location.xml
        Sending core/src/test/resources/log4j-asynch.xml
        Sending core/src/test/resources/perf5AsyncApndNoLoc.xml
        Sending core/src/test/resources/perf6AsyncApndLoc.xml
        Sending src/changes/changes.xml
        Sending src/site/site.xml
        Sending src/site/xdoc/manual/appenders.xml
        Sending src/site/xdoc/manual/migration.xml

        Show
        Remko Popma added a comment - Fixed in revision 1476970. Affected files: Adding core/src/main/java/org/apache/logging/log4j/core/appender/AsyncAppender.java Deleting core/src/main/java/org/apache/logging/log4j/core/appender/AsynchAppender.java Adding core/src/test/java/org/apache/logging/log4j/core/appender/AsyncAppenderNoLocationTest.java Adding core/src/test/java/org/apache/logging/log4j/core/appender/AsyncAppenderTest.java Deleting core/src/test/java/org/apache/logging/log4j/core/appender/AsynchAppenderNoLocationTest.java Deleting core/src/test/java/org/apache/logging/log4j/core/appender/AsynchAppenderTest.java Sending core/src/test/resources/log4j-asynch-no-location.xml Sending core/src/test/resources/log4j-asynch.xml Sending core/src/test/resources/perf5AsyncApndNoLoc.xml Sending core/src/test/resources/perf6AsyncApndLoc.xml Sending src/changes/changes.xml Sending src/site/site.xml Sending src/site/xdoc/manual/appenders.xml Sending src/site/xdoc/manual/migration.xml

          People

          • Assignee:
            Unassigned
            Reporter:
            Remko Popma
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development