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

Show a ref-guide example to configure SolrSlf4jReporter

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.5, 8.0
    • Component/s: None
    • Labels:
      None

      Description

      To configure SolrSlf4jReporter we must configure a logger in the log4j2.xml file and then the solr.xml file must be able to reference it. 

      It won't be super obvious to users on how to do this so we should show an example in the ref guide

      With log4j.xml we could do it like https://github.com/vthacker/solr-solutions/blob/master/docs/solr_metrics_logger.md but not we moved over to log4j2.xml 

      I have a working example for log4j2.xml and I'll post a patch in the next few hours 

        Attachments

        1. SOLR-12622.patch
          3 kB
          Varun Thacker
        2. SOLR-12622.patch
          3 kB
          Varun Thacker

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              varun Varun Thacker
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: