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

Log4j api should use Java's ServiceLoader to locate implememtations

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.8.2
    • Fix Version/s: 2.9.0
    • Component/s: API
    • Labels:
      None

      Description

      Java 9 module support requires that an API locate its implementation using java.util.ServiceLoader. Although we do not plan on implementing module support at this time this change is easy to implement and can be done in a backward compatible manner.

        Activity

        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 92e4b875463e8dc9e4683687d3572969f39b1593 in logging-log4j2's branch refs/heads/master from Ralph Goers
        [ https://git-wip-us.apache.org/repos/asf?p=logging-log4j2.git;h=92e4b87 ]

        LOG4J2-1917 - Use ServiceLoader to locate implementations.

        Show
        jira-bot ASF subversion and git services added a comment - Commit 92e4b875463e8dc9e4683687d3572969f39b1593 in logging-log4j2's branch refs/heads/master from Ralph Goers [ https://git-wip-us.apache.org/repos/asf?p=logging-log4j2.git;h=92e4b87 ] LOG4J2-1917 - Use ServiceLoader to locate implementations.
        Hide
        ralph.goers@dslextreme.com Ralph Goers added a comment -

        Changes applied.

        Show
        ralph.goers@dslextreme.com Ralph Goers added a comment - Changes applied.
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 92e4b875463e8dc9e4683687d3572969f39b1593 in logging-log4j2's branch refs/heads/LOG4J2-1442 from Ralph Goers
        [ https://git-wip-us.apache.org/repos/asf?p=logging-log4j2.git;h=92e4b87 ]

        LOG4J2-1917 - Use ServiceLoader to locate implementations.

        Show
        jira-bot ASF subversion and git services added a comment - Commit 92e4b875463e8dc9e4683687d3572969f39b1593 in logging-log4j2's branch refs/heads/ LOG4J2-1442 from Ralph Goers [ https://git-wip-us.apache.org/repos/asf?p=logging-log4j2.git;h=92e4b87 ] LOG4J2-1917 - Use ServiceLoader to locate implementations.
        Hide
        mikaelstaldal Mikael Ståldal added a comment -

        Should the version in Log4jProvider be 2.6.0?

        Show
        mikaelstaldal Mikael Ståldal added a comment - Should the version in Log4jProvider be 2.6.0?
        Hide
        ralph.goers@dslextreme.com Ralph Goers added a comment -

        Yes, that was the last version where a change was made to the API that affected an implementation.

        Show
        ralph.goers@dslextreme.com Ralph Goers added a comment - Yes, that was the last version where a change was made to the API that affected an implementation.

          People

          • Assignee:
            Unassigned
            Reporter:
            ralph.goers@dslextreme.com Ralph Goers
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development