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

Solr UI doesn't support log4j

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 4.0-ALPHA, 4.0-BETA, 4.0
    • Fix Version/s: 4.3
    • Component/s: SolrCloud
    • Labels:

      Description

      For many project use the log4j, actually solr use slf logger framework, slf can easy to integrate with log4j by design.

      Solr use log4j-over-slf.jar to handle log4j case.
      This jar has some issues.
      a. Actually last invoke slf to print the logger (For solr it is JDK14.logging).
      b. Not implement all log4j function. ex. Logger.setLevel()
      c. JDK14 log miss some function, ex. thread.info, day rolling

      Some dependence project had been used log4j that the customer still want to use it. JDK14 log has many different with Log4j, at least configuration file can't reuse.

      The bad thing is log4j-over-slf.jar conflict with log4j. If use solr, the other project have to remove log4j.

      I think it shouldn't use log4j-over-slf.jar, still reuse log4j if customer want to use it.

        Attachments

        1. patch-4129.txt
          8 kB
          Raintung Li

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                raintung.li Raintung Li
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: