Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-7887

Upgrade Solr to use log4j2 -- log4j 1 now officially end of life

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 7.4
    • None
    • None

    Description

      The logging services project has officially announced the EOL of log4j 1:

      https://blogs.apache.org/foundation/entry/apache_logging_services_project_announces

      In the official binary jetty deployment, we use use log4j 1.2 as our final logging destination, so the admin UI has a log watcher that actually uses log4j and java.util.logging classes. That will need to be extended to add log4j2. I think that might be the largest pain point to this upgrade.

      There is some crossover between log4j2 and slf4j. Figuring out exactly which jars need to be in the lib/ext directory will take some research.

      Attachments

        1. SOLR-7887-fix-maven-compilation.patch
          0.9 kB
          Steven Rowe
        2. SOLR-7887_followup_2.patch
          12 kB
          Varun Thacker
        3. SOLR-7887_followup_2.patch
          5 kB
          Varun Thacker
        4. SOLR-7887-followup_1.patch
          17 kB
          Varun Thacker
        5. SOLR-7887.patch
          170 kB
          Erick Erickson
        6. SOLR-7887.patch
          170 kB
          Erick Erickson
        7. SOLR-7887.patch
          171 kB
          Erick Erickson
        8. SOLR-7887.patch
          170 kB
          Erick Erickson
        9. SOLR-7887-eoe-review.patch
          190 kB
          Erick Erickson
        10. SOLR-7887-eoe-review.patch
          190 kB
          Erick Erickson
        11. SOLR-7887.patch
          191 kB
          Varun Thacker
        12. SOLR-7887.patch
          176 kB
          Varun Thacker
        13. SOLR-7887.patch
          172 kB
          Varun Thacker
        14. SOLR-7887.patch
          166 kB
          Varun Thacker
        15. SOLR-7887.patch
          121 kB
          Varun Thacker
        16. SOLR-7887.patch
          113 kB
          Varun Thacker
        17. SOLR-7887.patch
          60 kB
          Varun Thacker
        18. SOLR-7887.patch
          57 kB
          Varun Thacker
        19. SOLR-7887.patch
          53 kB
          Varun Thacker
        20. SOLR-7887-WIP.patch
          43 kB
          Keith Laban

        Issue Links

          There are no Sub-Tasks for this issue.

          Activity

            People

              erickerickson Erick Erickson
              elyograg Shawn Heisey
              Votes:
              4 Vote for this issue
              Watchers:
              20 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: