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

Missing provides directives in module-info cause system properties to not accept post log4j 2.10 normalized versions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.14.0
    • 2.16.0
    • API
    • None

    Description

      log4j-api's module-info is missing "provides PropertySource ..." directives. This causes the ServiceLoader to not be able to detect SystemPropertiesPropertySource when running on the module path.

      Consequently from that, the normalized system properties from log4j 2.10+ have no effect when running on the module-path.


      Please read the comment below for a more detailed explanation.

      Attachments

        Activity

          People

            Unassigned Unassigned
            A248 Anand Beh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: