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

Enable configurable logging (jul or log4j)

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 1.3
    • Fix Version/s: 1.4
    • Component/s: None
    • Labels:
      None

      Description

      java.util.logging does not allow to easily create a self-sufficient 'war' with respect to logging configuration.
      The java.util.logging.LogManager used by the application is always created by the container and is thus only configurable through the container; furthermore, if one already uses say log4j in a webapp that embeds Solr, it does not even seem possible to re-route jul logging into log4j just by configuration.

        Attachments

        1. solr-log4j.patch
          41 kB
          Henri Biestro
        2. solr-log4j.patch
          42 kB
          Henri Biestro
        3. solr-log4j.patch
          46 kB
          Henri Biestro

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                henrib Henri Biestro
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: