Uploaded image for project: 'SLF4J'
  1. SLF4J
  2. SLF4J-408

Incorrect module name for log4j-over-slf4j

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.0-alpha1
    • Fix Version/s: 1.8.0-alpha2
    • Component/s: log4j-over-slf4j
    • Labels:
      None

      Description

      I need to write this exact use case up in more detail, but see the comments section of my naming article. Basically, the module name must be the same for both the real log4j and the "fake" one being supplied by this artifact.

      This is because the purpose of this module is to replace the log4j one, and because two packages cannot be in the same module. It is up to the build system, ie. Maven, to select the correct artifact to fulfill a given module name.

      Based on discussions on the commons-dev mailing list, I'm proposing these as the module names, notably `org.apache.logging.log4j`. (This is based on my super-package reverse-DNS standard naming approach)

      Thus the module-info.java file needs to change from a module name of `org.slf4j.log4j_over_slf4j` to `org.apache.logging.log4j`.

        Attachments

          Activity

            People

            • Assignee:
              slf4j-dev SLF4J developers list
              Reporter:
              jodastephen Stephen Colebourne
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: