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

Enable configurable logging (jul or log4j)

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 1.3
    • 1.4
    • None
    • 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
          46 kB
          Henri Biestro
        2. solr-log4j.patch
          42 kB
          Henri Biestro
        3. solr-log4j.patch
          41 kB
          Henri Biestro

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment